import { type z } from "https://deno.land/x/zod@v3.23.2/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"][]