Find the first ancestor of a node that matches a condition.
the node to start from
a function that returns true if the node matches
the first ancestor that matches the condition, or null if none match
Generated using TypeDoc
Find the first ancestor of a node that matches a condition.