nodeId

Returns a node's author-declared #id, or null when it has none.

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

The test every addressable lookup starts with. Not the instance_id, which the system assigns and an author can neither write nor reference.

#Signature

(node: NodeLike): string | null

#Parameters

node
The node to read.

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

Last updated