function inRange(a, min, max) {
    return min <= a && a <= max;
  }
@param {number} a The number to test.
@param {number} min The minimum value in the range, inclusive.
@param {number} max The maximum value in the range, inclusive.
@return {boolean} True if a >= min and a <= max.