operator < method

bool operator <(
  1. Interval i
)

Less than operator on intervals.

[a, b] < [c, d], if a < c && b < d

Implementation

bool operator <(Interval i) => this.min < i.min && this.max < i.max;