Function: assertInRange()
assertInRange(
input,lowerBound,upperBound,inputName?):void
Defined in: src/utils/num.ts:162
Asserts input is equal to or greater then lowerBound and lower then upperBound.
The inputName parameter is used in the assertion message.
Parameters
input
Value to check
lowerBound
Lower bound value
upperBound
Upper bound value
inputName?
string = ''
Name of the input for error message