Checks if value is in the range of min and max.

const alive = rangeValue(0, 150);

alive(-10); // Error: rangeValue
alive(450); // Error: rangeValue
alive(26); // passes