Validates whether a given number is within a specified range.
if the value is not a number or if it is outside the specified range.
The number to validate.
Optional
The minimum allowable range.
The maximum allowable range.
Validates whether a given number is within a specified range.
Throws
if the value is not a number or if it is outside the specified range.