contains method

bool contains(
  1. KeyValueInterval other
)

Returns true if this interval contains the interval other.

Implementation

bool contains(KeyValueInterval other) =>
    containsPoint(other.start) && containsPoint(other.end);