Checks if the intervals x, y overlap i.e. if they share at least one value
x
y
Interval.intervalsOverlap( Interval(0, 3), Interval(1, 2)) // trueInterval.intervalsOverlap( Interval(0, 2), Interval(1, 3)) // trueInterval.intervalsOverlap( Interval(0, 2), Interval(2, 3)) // trueInterval.intervalsOverlap( Interval(0, 1), Interval(2, 3)) // false
Generated using TypeDoc
Checks if the intervals
x
,y
overlap i.e. if they share at least one valueExample
Returns