Walk each node in the tree with a depth-first traversal. Walking stops if the callback returns true.
The tree to walk.
The callback to call on each node. If this ever returns true, the walking stops.
Walk each node in the tree with a depth-first traversal. Walking stops if the callback returns true.