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:

Parameter Type Description
leaf? WorkspaceLeaf | undefined The leaf to check.

Returns: booleanWhether the leaf is attached.