Skip to content

purrmd


purrmd / commands / isUnorderedList

Function: isUnorderedList() ​

isUnorderedList(state): boolean

Defined in: packages/core/src/core/command/list.ts:19

Check if all selected lines are unordered list items

Parameters ​

state ​

EditorState

EditorState

Returns ​

boolean

boolean Whether all selected lines match the list type