Specifies the type of function passed to foreach_node.
It is passed each node, together with the user_data
parameter passed to
foreach_node. If the function returns true, the
traversal is stopped.
node |
a TreeNode |
user_data |
user data passed to foreach_node |
true to stop the traversal |