Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/frugal/dep/zod.ts>z.arrayOutputType

A frugal web framework
Latest
type alias z.arrayOutputType
import { type z } from "https://deno.land/x/frugal@0.9.6/dep/zod.ts";
const { arrayOutputType } = z;

Type Parameters

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