parseRoute
Describes@ebitex/content-sdk 1.xSee the changelog:@ebitex/content-sdk
parseRoute(
pattern):ParsedRoute
Splits a pattern into its segments. Throws when a segment mixes text and braces (a{b}), a
brace is unbalanced, a parameter has no name, or a name appears twice.
parseRoute('/products/{key}').parameters // ['key']Parameters
Section titled “Parameters”pattern
Section titled “pattern”string