Function to test nodes on.
Node to search. Will be included in the result set if it matches.
OptionalshouldRecurse: boolean
Also consider child nodes.
Optionallimit: number
Maximum number of nodes to return.
All nodes passing isMatch.
Search a node and its children for nodes passing a test function. If node is not an array, it will be wrapped in one.
Function to test nodes on.
Node to search. Will be included in the result set if it matches.
OptionalshouldRecurse: boolean
Also consider child nodes.
Optionallimit: number
Maximum number of nodes to return.
All nodes passing isMatch.
Search a node and its children for nodes passing a test function. If
nodeis not an array, it will be wrapped in one.