Skip to content

WorkspaceLeaf.canNavigate method

WorkspaceLeaf › canNavigate

Unofficial

Check whether this leaf can be navigated to a different view.

Signature:

canNavigate(): boolean

Returns: booleanWhether the leaf can be navigated. To get the constructor instance, use getWorkspaceLeafConstructor from obsidian-typings/implementations.