> For the complete documentation index, see [llms.txt](/llms.txt).
> The full corpus is at [llms-full.txt](/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

### selection

`EditorSelection`

## Returns

`EditorSelector`\<`boolean`\>