Skip to content

Workspace.isAttached method

Workspace › isAttached

Unofficial

Check if leaf has been attached to the workspace

Signature:

isAttached(leaf?: WorkspaceLeaf | undefined): boolean

Parameters:

ParameterTypeDescription
leaf?WorkspaceLeaf | undefinedThe leaf to check.

Returns: booleanWhether the leaf is attached.