Regex
Checks if the given string matches the giver RegExp
import Schema from "@rapidom/schema";
const Validator = Schema.string().regex(/^Hello/);
Last updated
Was this helpful?
Checks if the given string matches the giver RegExp
import Schema from "@rapidom/schema";
const Validator = Schema.string().regex(/^Hello/);
Last updated
Was this helpful?