Method _.throw.range
Summary:
Throws a new RangeError if the passed variable is not a number, is 'Infinity', or outside a specified range.
- Calling Convention:
-
_.throw.range(variable[, low[, high]])
- Parameters:
-
- variable
- The variable to test.
- low optional
- If the variable is less than or this value, a rangeError will be thrown.
- high optional
- If the variable is greater than or this value, a rangeError will be thrown.
- Returns:
- nothing