Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
type alias z.arrayOutputType
import { type z } from "https://deno.land/x/netzo@0.3.66/deps/zod/mod.ts";
const { arrayOutputType } = z;

Type Parameters

T extends ZodTypeAny
optional
Cardinality extends ArrayCardinality = "many"
definition: Cardinality extends "atleastone" ? [T["_output"], ...T["_output"][]] : T["_output"][]