Skip to content

purrmd


purrmd / commands / isOrderedList

Function: isOrderedList()

isOrderedList(state): boolean

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

Check if all selected lines are ordered list items

Parameters

state

EditorState

EditorState

Returns

boolean

boolean Whether all selected lines match the list type