inRange method

dynamic inRange(
  1. int a,
  2. int b
)

Implementation

inRange(int a, int b){
    return this >=a && this <=b;
}