• 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

    Type Parameters

    • T

    Parameters

    Returns TraversableTree<T> | undefined