overlaps method

bool overlaps(
  1. Range other
)

Range overlaps other range

Implementation

bool overlaps(Range other)
{
  return contains(other.minValue) || contains(other.maxValue);
}