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