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