isControl

Returns whether a node is a control, one of the nodes that declare a scene's parameters.

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

A control may be written inside any environment's body, so a surface walking its own children skips the controls with this.

#Signature

(node: CompiledNode): boolean

#Parameters

node
The node to test.

Declared in packages/canvas-sdk/src/parameters/index.ts:67.

Last updated