foldable

fun foldable(state: EditorState, lineStart: DocPos): FoldRange?

Find a foldable range at the given line position, using registered fold services and tree-based fold props.