Skip to main content

$isEditorState

function

Type guard that returns true if the argument is an EditorState

function $isEditorState(x: unknown): x is EditorState

Import

import { $isEditorState } from '@modular/sdk/editor';