Skip to content

isLayoutReady

Unofficial

Check if the workspace layout is loaded, narrowing the workspace to LayoutReadyWorkspace.

Import:

import { isLayoutReady } from '@obsidian-typings/obsidian-public-latest/implementations';

Signature:

function isLayoutReady(workspace: Workspace): workspace is LayoutReadyWorkspace

Parameters:

Parameter Type Description
workspace Workspace The workspace to check.

Returns: workspace is LayoutReadyWorkspace — Whether the workspace layout is loaded.