Applies predicate to root and all its child nodes, returning the node where predicate yields true. Use findByValue to find a node by its value
predicate
root
Iterate children by breadth or depth. Default 'breadth'
Applies
predicatetorootand all its child nodes, returning the node wherepredicateyields true. Use findByValue to find a node by its value