Skip to main content

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