interface z.ZodDiscriminatedUnionDef
implements ZodTypeDef
import { type z } from "https://dotland.deno.dev/x/zod@v3.20.1/index.ts";
const { ZodDiscriminatedUnionDef } = z;
Type Parameters
optional
Options extends ZodDiscriminatedUnionOption<any>[] = ZodDiscriminatedUnionOption<any>[]Properties
discriminator: Discriminator
options: Options
optionsMap: Map<Primitive, ZodDiscriminatedUnionOption<any>>