the name of this value, used only for error messages
the value to check
the minimum legal value (inclusive lower bound)
the maximum legal value (inclusive upper bound)
the value unmodified, for easy chaining
RangeError if the value is outside of the bounds
Generated using TypeDoc
Checks that the given value is between the given bounds. The bounds are both inclusive, so that they can also be legal values in the same bounds.