import { zod } from "https://deno.land/x/cav@0.0.24/test/test_deps.ts";
const { ZodString } = zod.z;
Properties
Methods
_addCheck(check: ZodStringCheck)
_parse(input: ParseInput): ParseReturnType<string>
cuid(message?: errorUtil.ErrMessage)
email(message?: errorUtil.ErrMessage)
length(len: number, message?: errorUtil.ErrMessage)
max(maxLength: number, message?: errorUtil.ErrMessage)
min(minLength: number, message?: errorUtil.ErrMessage)
regex(regex: RegExp, message?: errorUtil.ErrMessage)
url(message?: errorUtil.ErrMessage)
uuid(message?: errorUtil.ErrMessage)
Static Properties
create: (params?: RawCreateParams) => ZodString