Skip to main content

Introducing Workflow Engine, try for FREE workflowengine.io.

Function: treeForEach()

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.

fn

the function to be executed on each node of the tree.

Returns

void