Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / isSingleLanguagePage

Function: isSingleLanguagePage()

isSingleLanguagePage(rawPathname): boolean

Whether a pathname (without its language prefix) is a page that exists in the primary language only.

Parameters

rawPathname

string

Returns

boolean