Home > widget-integration > FilterRender > isCollectionPage

FilterRender.isCollectionPage() method

Checks if the current page is a collection page.

Signature:

protected isCollectionPage(): boolean;

Returns:

boolean

true if the current URL pathname contains /collections/