Ensures that the value is within a range.
the lower bound of the range (inclusive)
the upper bound of the range (exclusive)
this
Ensures that the value is within a range.
the lower bound of the range
true if the lower bound of the range is inclusive
the upper bound of the range
true if the upper bound of the range is inclusive
this
RangeError if minimum is greater than maximum. If
minimumInclusive is true, and the value is less than minimum.
If minimumInclusive is false, and the value is less than or equal to
minimum. If maximumInclusive is true and the value is greater
than maximum. If maximumInclusive is false, and the value is
greater than or equal to maximum.
Ensures that the value is greater than a lower bound.
the exclusive lower bound
this
Ensures that the value is greater than a lower bound.
the exclusive lower bound
the name of the lower bound
this
Ensures that the value is greater than or equal to a minimum value.
the minimum value
this
Ensures that the value is greater than or equal a minimum value.
the minimum value
the name of the minimum value
this
Ensures that the value is less than an upper bound.
the exclusive upper bound
this
Ensures that the value is less than an upper bound.
the exclusive upper bound
the name of the upper bound
this
Ensures that the value is less than or equal to a maximum value.
the inclusive upper value
this
Ensures that the value is less than or equal to a maximum value.
the maximum value
the name of the maximum value
this
Ensures that the value is a multiple of factor.
the number being multiplied
this
Ensures that the value is a multiple of factor.
the number being multiplied
the name of the factor
this
Ensures that the value is not a multiple of factor.
the number being multiplied
this
Ensures that the value is not a multiple of factor.
the number being multiplied
the name of the factor
this
Methods that all number validators must contain.