isBeforeOrAt method

bool isBeforeOrAt(
  1. int point
)

Checks if the given point is before or at the range

Implementation

bool isBeforeOrAt(int point) => point <= min(start, end);