Private
_contextPrivate
_rootPrivate
breakReadonly
depthReadonly
pathMerges the provided context with the current context.
The new context to merge.
Optional. Specifies whether to remove existing values in the current context. Default is false.
The status of the context merge operation.
Replaces the value at the current path with the specified value.
If the current context is already at the root or an empty path, it returns treeUpdateStatus.ALREADY_AT_ROOT_OR_EMPTY_PATH
.
If the parent is an array and the last path element is not a valid index, it returns treeUpdateStatus.INVALID_INDEX_TYPE_FOR_ARRAY
.
Otherwise, it replaces the value at the current path and returns treeUpdateStatus.CONTEXT_REPLACED
.
The value to replace with.
The status of the tree update operation.
Generated using TypeDoc
Shares many similar methods with TreeContext, refer to that class for documentation.