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

x/zod/mod.ts>z.StringValidation

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
type alias z.StringValidation
Re-export
import { type z } from "https://deno.land/x/zod@v3.21.3/mod.ts";
const { StringValidation } = z;
definition:
| "email"
| "url"
| "emoji"
| "uuid"
| "regex"
| "cuid"
| "cuid2"
| "ulid"
| "datetime"
| "ip"
| { includes: string; position?: number; }
| { startsWith: string; }
| { endsWith: string; }