Skip to main content
Modular Documentation
Guides
Reference
Reference
/
@modular/sdk/editor
$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';