Recursively reduce a tree to a single value in a depth-first traversal.
The node to start from
Takes in the current accumulator and node and returns the new accumulator
The initial value of the accumulator
the reduced value after visiting all nodes
Generated using TypeDoc
Recursively reduce a tree to a single value in a depth-first traversal.