Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

z.union

import { z } from "https://esm.sh/zod@3.25.76/index.d.cts"; 

const { union } = z;
const union: <Options extends Readonly<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>>(types: Options, params?: RawCreateParams) => ZodUnion<Options>;