the node which is the root of the subtree.
the function expressing the condition that the node must satisfy.
the function that generates the nodes to operate on in the desired sequence. By default, this is a depth-first traversal that includes the starting node.
the first node in the AST for which the predicate is true. Returns undefined if none are found.
Generated using TypeDoc
Finds the first node that satisfies a condition among a node's descendants.