Const Creates a tree structure from the given array.
The array to create the tree from.
The tree nodes comparator.
the result tree.
Gets an array containing all the ancestors of the given node in an ascending order.
The node from which to extract the ancestor trail.
The tree nodes comparator.
an array containing all the ancestors of the given node in an ascending order.
Gets an array containing all the ancestors of the given node in an ascending order.
The node from which to extract the ancestor trail.
The tree nodes comparator.
an array containing all the ancestors of the given node in an ascending order.
Adds a new elements into the tree at the given node.
The tree to add the new element into.
The node in the tree where to add the new element.
The element to add.
The tree node comparator.
Adds a new elements into the tree at the given node.
Truncates the given tree from the given node.
The tree to truncate.
The node to truncate the tree from.
The tree nodes comparator.
the truncated tree.
Generated using TypeDoc
Tree helper methods.