Module

x/zod/mod.ts>z.StringValidation

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