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: booleanWhether the leaf can be pinned.