Skip to main content
Module

x/zod/mod.ts>z.ZodNonEmptyArrayDef

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
interface z.ZodNonEmptyArrayDef
implements ZodTypeDef
import { type z } from "https://deno.land/x/zod@3.0.0-alpha.39/mod.ts";
const { ZodNonEmptyArrayDef } = z;

Properties

type: T
minLength: { value: number; message?: string; } | null
maxLength: { value: number; message?: string; } | null