Skip to content

purrmd


purrmd / commands / isHeading2

Function: isHeading2() ​

isHeading2(state): boolean

Defined in: packages/core/src/core/command/heading.ts:138

Check if the current selection is all heading 2

Parameters ​

state ​

EditorState

EditorState

Returns ​

boolean

boolean