Skip to content

Workspace.isInSidebar method

Workspace › isInSidebar

Unofficial

Check if a leaf is in the sidebar.

Signature:

isInSidebar(leaf: WorkspaceLeaf): boolean

Parameters:

Parameter Type Description
leaf WorkspaceLeaf The leaf to check.

Returns: booleanWhether the leaf is in the sidebar.