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