Workspace โ€บ getLeafById

Workspace.getLeafById() method

Retrieve a leaf by its id.

Signature:

getLeafById(id: string): WorkspaceLeaf | null;

Parameters

ParameterTypeDescription
idstringid of the leaf to retrieve.

Returns:

WorkspaceLeaf | null