Workspace.isInSidebar method
Workspace › isInSidebar
Unofficial
Check if a leaf is in the sidebar.Signature:
isInSidebar(leaf: WorkspaceLeaf): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| leaf | WorkspaceLeaf | The leaf to check. |
Returns: boolean — Whether the leaf is in the sidebar.