BlockSuite API Documentation / @blocksuite/block-std / isGfxBlockComponent
Function: isGfxBlockComponent()
isGfxBlockComponent(
element
):element is GfxBlockComponent<EdgelessBlockModel<GfxCompatibleProps>, BlockService, string>
Parameters
• element: unknown
Returns
element is GfxBlockComponent<EdgelessBlockModel<GfxCompatibleProps>, BlockService, string>
Defined in
packages/framework/block-std/src/view/element/gfx-block-component.ts:13