Skip to content

WorkspaceLeaf.canPin method

WorkspaceLeaf › canPin

Unofficial

Checks whether this leaf can be pinned (i.e. its parent is a tab group).

Signature:

canPin(): boolean

Returns: boolean — Whether the leaf can be pinned.