Function: nodeMatches()
nodeMatches(
node,selector,ancestors?):boolean
Defined in: packages/core/src/domain/services/selector-matching.ts:83
Returns true if node matches all criteria in selector.
Parameters
node
The node to evaluate
selector
The selector criteria
ancestors?
readonly SelectorNode[] = []
Ancestor nodes from root to the node's parent
Returns
boolean
Whether the node matches