inRange method

bool inRange(
  1. int start,
  2. int end
)

Implementation

bool inRange(int start, int end) => this >= start && this < end;