Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.2 · function

getNodeId

Source

Helper to get node ID from endpoint. Kept as a tiny accessor so callers read intent ("the link's source node") rather than reaching into shape.

getNodeId(endpoint: LinkEndpoint): string

Parameters

Parameter Type Description Default
endpoint LinkEndpoint No additional description. —

Returns

string

libs/@shumoku/core/src/libs/@shumoku/core/src/models/types.ts:1022