Module

x/zod/index.ts>z.StringValidation

TypeScript-first schema validation with static type inference
Very Popular
Go to Latest
type alias z.StringValidation
import { type z } from "https://dotland.deno.dev/x/zod@v3.21.3/index.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.21.3/index.ts";
const { StringValidation } = z;