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