containsValue method

bool containsValue(
  1. int value
)

Checks if this interval contains a specific value.

Implementation

bool containsValue(int value) {
  if (isBottom) return false;
  if (min != null && value < min!) return false;
  if (max != null && value > max!) return false;
  return true;
}