Skip to content

Workspace.isAttached method

Workspace › isAttached

Unofficial

Check if leaf has been attached to the workspace

Signature:

isAttached(leaf?: WorkspaceLeaf): boolean

Parameters:

ParameterTypeDescription
leaf?WorkspaceLeafThe leaf to check.

Returns: boolean — Whether the leaf is attached.