Root node to get the matching children from.
Function that will be run for every child of the root node.
Optional
options: { deep?: boolean }An optional object with the deep
option (defaults to false
) set to true
to
get the children deeply or false
to get them shallowly.
A readonly set with the matching children.
Iterates through all children and collects them in a set if the given predicate matches.