isOverlappingSelection
isOverlappingSelection(
selection):EditorSelector<boolean>
Defined in: selector.is-overlapping-selection.ts:15
Returns true if the supplied selection shares at least one point with the editor’s current selection. Resolves at any container depth.
Two selections that touch at a single endpoint share that point and are considered overlapping.
Parameters
Section titled “Parameters”selection
Section titled “selection”EditorSelection
Returns
Section titled “Returns”EditorSelector<boolean>