Module

x/zod/index.ts>z.arrayOutputType

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
type alias z.arrayOutputType
import { type z } from "https://dotland.deno.dev/x/zod@v3.23.0-beta.0/index.ts";
const { arrayOutputType } = z;

Type Parameters

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