containsNode
Returns whether a node the match names is anywhere in the root's body or detail, at any depth.
@internote/canvas-sdkOn this page
import { containsNode } from '@internote/canvas-sdk';#Signature
<N extends NodeLike>(root: N | readonly N[], match: NodeMatch<N>): boolean#Parameters
rootA node, or a list of nodes.
matchWhich nodes count.
Declared in packages/canvas-sdk/src/environment/node-query.ts:244.