Workspace
โบ getLeafById
Workspace.getLeafById() method
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