Skip to main content
Module

x/zod/external.ts>ZodArray#nonempty

TypeScript-first schema validation with static type inference
Very Popular
Go to Latest
method ZodArray.prototype.nonempty
import { ZodArray } from "https://deno.land/x/zod@v3.17.3/external.ts";

Parameters

optional
message: errorUtil.ErrMessage

Returns

ZodArray<T, "atleastone">