TypeScript API / laikacms/core/utilities / Paths
Variable: Paths
ts
const Paths: object;Type Declaration
combine
ts
combine: (...segments) => string;Parameters
| Parameter | Type |
|---|---|
...segments | string[] |
Returns
string
pathToSegments
ts
pathToSegments: (path) => string[];Parameters
| Parameter | Type |
|---|---|
path | string |
Returns
string[]
toSegments
ts
toSegments: (path) => string[];Parameters
| Parameter | Type |
|---|---|
path | string |
Returns
string[]