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