Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pup/deps.ts>z.ZodStringCheck

Universal process manager built in Deno
Go to Latest
type alias z.ZodStringCheck
import { type z } from "https://deno.land/x/pup@1.0.0-beta.23/deps.ts";
const { ZodStringCheck } = z;
definition:
| { kind: "min"; value: number; message?: string; }
| { kind: "max"; value: number; message?: string; }
| { kind: "length"; value: number; message?: string; }
| { kind: "email"; message?: string; }
| { kind: "url"; message?: string; }
| { kind: "emoji"; message?: string; }
| { kind: "uuid"; message?: string; }
| { kind: "cuid"; message?: string; }
| { kind: "includes"; value: string; position?: number; message?: string; }
| { kind: "cuid2"; message?: string; }
| { kind: "ulid"; message?: string; }
| { kind: "startsWith"; value: string; message?: string; }
| { kind: "endsWith"; value: string; message?: string; }
| { kind: "regex"; regex: RegExp; message?: string; }
| { kind: "trim"; message?: string; }
| { kind: "toLowerCase"; message?: string; }
| { kind: "toUpperCase"; message?: string; }
| { kind: "datetime"; offset: boolean; precision: number | null; message?: string; }
| { kind: "ip"; version?: IpVersion; message?: string; }