@arcmantle/chronicle / path
path
Functions
deleteAtPath()
deleteAtPath(
root,path):void
Defined in: path.ts:35
Parameters
root
any
path
string[]
Returns
void
ensureParents()
ensureParents(
root,path):void
Defined in: path.ts:56
Parameters
root
any
path
string[]
Returns
void
getParentAndKey()
getParentAndKey(
root,path): [any,string] |null
Defined in: path.ts:9
Parameters
root
any
path
string[]
Returns
[any, string] | null
isArrayIndexKey()
isArrayIndexKey(
k):boolean
Defined in: path.ts:7
Parameters
k
string
Returns
boolean
normalizeKey()
normalizeKey(
prop):string
Defined in: path.ts:5
Parameters
prop
PropertyKey
Returns
string
setAtPath()
setAtPath(
root,path,value):void
Defined in: path.ts:26
Parameters
root
any
path
string[]
value
any
Returns
void