overlaps method
Whether this interval overlaps the inclusive range [low, high] given by
otherLow/otherHigh. Two inclusive ranges overlap iff each starts at or
before the other ends.
Audited: 2026-06-12 11:26 EDT
Implementation
bool overlaps(num otherLow, num otherHigh) => low <= otherHigh && high >= otherLow;