Checks if value is in the range of min and max.
const alive = rangeValue(0, 150);alive(-10); // Error: rangeValuealive(450); // Error: rangeValuealive(26); // passes Copy
const alive = rangeValue(0, 150);alive(-10); // Error: rangeValuealive(450); // Error: rangeValuealive(26); // passes
Minimal value.
Maximal value.
Checks if value is in the range of min and max.
Example