import { z } from "https://deno.land/x/zod@v3.21.2/index.ts";
const { ZodUnion } = z;
Type Parameters
T extends ZodUnionOptions
Methods
_parse(input: ParseInput): ParseReturnType<this["_output"]>
Static Properties
create: <T extends Readonly<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>>(types: T, params?: RawCreateParams) => ZodUnion<T>