Module

x/zod/index.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.22.2/index.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