Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/zod/index.ts>z.ZodArray#min

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method z.ZodArray.prototype.min
import { z } from "https://deno.land/x/zod@v3.22.1/index.ts";
const { ZodArray } = z;

Parameters

minLength: number
optional
message: errorUtil.ErrMessage