Search an array of nodes and their children for nodes passing a test function.
Function to test nodes on.
Array of nodes to search.
Also consider child nodes.
Maximum number of nodes to return.
All nodes passing test.
test
Search an array of nodes and their children for nodes passing a test function.