startsBeforeDisjoint method

bool startsBeforeDisjoint(
  1. Interval other
)

Does this start completely before other? Disjoint */

Implementation

bool startsBeforeDisjoint(Interval other) {
  return a < other.a && b < other.a;
}