matchesNode

Returns whether a node is one the match names.

@internote/canvas-sdkFunction
On this page
import { matchesNode } from '@internote/canvas-sdk';

#Signature

<N extends NodeLike>(node: N, match: NodeMatch<N>): boolean

#Parameters

node
The node to test.
match
Which nodes count.

Declared in packages/canvas-sdk/src/environment/node-query.ts:57.

Last updated