Module

x/zod/mod.ts>z.ZodArrayDef

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

Properties

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