Skip to main content
Version: 2.0.0

Function: stripCollectionPath

stripCollectionPath(path): string

Remove the entity ids from a given path products/B44RG6APH/locales => products::locales

Parameters

NameType
pathstring

Returns

string

Defined in

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

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!