Tree

interface Tree {
    delete(): boolean;;
    list(): List;;
    path(path: KeyPath) : Tree;;
    update(value: any) : boolean;;
    value(): any;;
}

index

Methods

delete

delete(): boolean;

delete element at path

Returns
boolean

list

list(): List;

return a list for list specific operations

Returns

List

List

path

path(path: KeyPath) : Tree;

set change path

Parameters

path

path

KeyPath
Returns

Tree

Tree

update

update(value: any) : boolean;

update element at path

Parameters

value

any value

any
Returns
boolean

value

value(): any;

get value of tree at path

Returns
any