Skip to content

TypeScript API / laikacms/core/utilities / Paths

Variable: Paths ​

ts
const Paths: object;

Type Declaration ​

combine ​

ts
combine: (...segments) => string;

Parameters ​

ParameterType
...segmentsstring[]

Returns ​

string

pathToSegments ​

ts
pathToSegments: (path) => string[];

Parameters ​

ParameterType
pathstring

Returns ​

string[]

toSegments ​

ts
toSegments: (path) => string[];

Parameters ​

ParameterType
pathstring

Returns ​

string[]

Released under the MIT License.