Skip to content

Workspace.getLeafById method

Workspace › getLeafById

Official

Retrieve a leaf by its id.

Signature:

getLeafById(id: string): WorkspaceLeaf | null

Parameters:

Parameter Type Description
id string id of the leaf to retrieve.

Returns: WorkspaceLeaf | null

Since: 1.5.1