filterRecurse

Recursively searches the DOM tree starting from this node, returning the first node that matches the given predicate.

Return

The first DOM.Node that matches the predicate, or null if no matching node is found.

Parameters

predicate

A function that takes a DOM.Node and returns true if it matches the search criteria.