WorkspaceLeaf.canNavigate method
WorkspaceLeaf › canNavigate
Unofficial
Check whether this leaf can be navigated to a different view.Signature:
canNavigate(): booleanReturns: boolean — Whether the leaf can be navigated. To get the constructor instance, use getWorkspaceLeafConstructor from obsidian-typings/implementations.