Skip to main content
Modular Documentation
Guides
Reference
Reference
/
@modular/sdk/editor
isLexicalEditor
function
function isLexicalEditor(editor: unknown): editor is LexicalEditor
Import
import { isLexicalEditor } from '@modular/sdk/editor';
Notes
returns
true if the given argument is a LexicalEditor instance from this build of Lexical