Filter by a function. The passed function will be called with each
node in the tree (or from the startNode). If the f...
Filter by a function. The passed function will be called with each
node in the tree (or from the startNode). If the function returns true, the node is kept
otherwise it is filtered. If a node is filtered, its children are also filtered.
Parameters
Returns