This page is available as Markdown at /api/selectors/functions/isoverlappingselection.md.
For the full documentation index, see /llms.txt, or
the complete corpus at /llms-full.txt.
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>