Constrains numbers to an inclusive upper bound.
The inclusive upper bound, or undefined to accept any value
A validator reporting a violation if the value is greater than limit
Constrains strings to an inclusive upper bound.
Strings compare lexicographically.
The inclusive upper bound, or undefined to accept any value
A validator reporting a violation if the value is greater than limit
Constrains numbers and strings to an inclusive upper bound.