Multiple
Checks if the given number is a multiple of the given value
import Schema from "@rapidom/schema";
const Validator = Schema.number().multiple(2);
Last updated
Was this helpful?
Checks if the given number is a multiple of the given value
import Schema from "@rapidom/schema";
const Validator = Schema.number().multiple(2);
Last updated
Was this helpful?