A callback function used in a structure traversal. It takes the current value as input and returns a new value that will replace the current one in the mapped structure.
A callback function used in a structure traversal. It takes an accumulator and the current value as input and returns a value that will be the accumulator for the next value. The final result will be the last accumulator value at the end of traversaL.
A function called on each value encountered during a tree traversal.
Generated using TypeDoc
A callback function used in a structure traversal. It takes the current value as input and returns a boolean describing whether or not the value should be present in the filtered structure.