Functions
Const comparePaths
- comparePaths(a: string, b: string): number
-
Parameters
Returns number
Const comparePathsByDepth
- comparePathsByDepth(a: string, b: string): number
-
Parameters
Returns number
Const depthOfPath
- depthOfPath(value: string): number
-
Parameters
Returns number
;
Const getParentPath
- getParentPath(path: string): string
-
Parameters
Returns string
Const headOfPath
- headOfPath(key: string): string
-
Parameters
Returns string
Const joinPaths
- joinPaths(...args: (string | number)[]): string
-
Parameters
-
Rest ...args: (string | number)[]
Returns string
Const removeParentPath
- removeParentPath(path: string): string
-
Parameters
Returns string
Const tailOfPath
- tailOfPath(key: string): string
-
Parameters
Returns string
Comparator for path in dot notation, ordering by it's parts alphabetically