Skip to main content

Function: rangeOverlaps()

rangeOverlaps(rangeLeft, rangeRight, dateLib): boolean

Determines whether a given range overlaps with another range.

Parameters​

ParameterTypeDefault value
rangeLeftobjectundefined
rangeLeft.fromDateundefined
rangeLeft.toDateundefined
rangeRightobjectundefined
rangeRight.fromDateundefined
rangeRight.toDateundefined
dateLibDateLibdefaultDateLib

Returns​

boolean

Since​

9.2.2

Defined in​

src/utils/rangeOverlaps.ts:11