Skip to content

BlockSuite API Documentation / @blocksuite/inline / isInlineRoot

Function: isInlineRoot()

isInlineRoot(element): element is HTMLElement

Parameters

element: unknown

Returns

element is HTMLElement

Source

packages/framework/inline/src/utils/guard.ts:21