Skip to content

SelectionRange.eq method

SelectionRange › eq

Official

Compare this range to another range.

Signature:

eq(other: SelectionRange, includeAssoc?: boolean | undefined): boolean

Parameters:

ParameterTypeDescription
otherSelectionRangeThe other range.
includeAssoc?boolean | undefinedWhether to compare association.

Returns: booleanWhether the ranges are equal.