Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/zod@v3.17.3/mod.ts";

Properties

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