Finds one element in a tree that passes a test.
Function to test nodes on.
Node or array of nodes to search.
Also consider child nodes.
The first node that passes test.
test
Finds one element in a tree that passes a test.