treeForEach<T>(tree, fn): void
Executes a given function on each node of a tree. Internal use only.
Type Parameters
T extends object
Parameters
tree
T
the root node of the tree.
(treeNode) => void
the function to be executed on each node of the tree.
Returns
void