Create a validator that checks if the value is at or below a certain number.
A validator that checks if the value is n or below.
n
The number to check against.
The error message to use if the value is above n.
Generated using TypeDoc
Create a validator that checks if the value is at or below a certain number.
Returns
A validator that checks if the value is
n
or below.