API > @blocksuite/blocks > isEdgelessPage
Function: isEdgelessPage ​
isEdgelessPage(
element
):element is EdgelessPageBlockComponent
Returns true
if element is edgeless page.
Parameters ​
Parameter | Type |
---|---|
element | Element |
Returns ​
element is EdgelessPageBlockComponent
Deprecated ​
Use context instead. The edgeless page may be customized by the user so it's not recommended to use this method. \
Defined In ​
packages/blocks/src/_common/utils/query.ts:386