Max
Checks if the given date is before or the same expected date
import Schema from "@rapidom/schema";
const Validator = Schema.date().max(Date.now());
Last updated
Was this helpful?
Checks if the given date is before or the same expected date
import Schema from "@rapidom/schema";
const Validator = Schema.date().max(Date.now());
Last updated
Was this helpful?