Max
Checks if the given number is less than or equal to the given value
import Schema from "@rapidom/schema";
const Validator = Schema.number().max(2);
Last updated
Was this helpful?
Checks if the given number is less than or equal to the given value
import Schema from "@rapidom/schema";
const Validator = Schema.number().max(2);
Last updated
Was this helpful?