Module

x/zod/mod.ts>ZodArrayDef

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
interface ZodArrayDef
implements ZodTypeDef
import { type ZodArrayDef } from "https://dotland.deno.dev/x/zod@v3.21.4/mod.ts";

Properties

type: T
typeName: ZodFirstPartyTypeKind.ZodArray
exactLength: { value: number; message?: string; } | null
minLength: { value: number; message?: string; } | null
maxLength: { value: number; message?: string; } | null