Skip to main content
Version: 2.0.0-alpha

Function: fullPathToCollectionSegments

fullPathToCollectionSegments(path): string[]

Extract the collection path routes products/B44RG6APH/locales => [products, locales]

Parameters

NameType
pathstring

Returns

string[]

Defined in

lib/src/core/util/paths.ts:21