BlockSuite API Documentation / @blocksuite/affine-block-surface / isNoteBlock
Function: isNoteBlock()
isNoteBlock(
element):element is NoteBlockModel
Defined in: packages/affine/blocks/block-surface/src/extensions/query.ts:13
Parameters
element
null | GfxModel | BlockModel<object>
Returns
element is NoteBlockModel