Module

x/zod/mod.ts>z.ZodEnumDef

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
interface z.ZodEnumDef
implements ZodTypeDef
import { type z } from "https://dotland.deno.dev/x/zod@v3.18.0/mod.ts";
const { ZodEnumDef } = z;

Type Parameters

optional
T extends EnumValues = EnumValues

Properties

values: T
typeName: ZodFirstPartyTypeKind.ZodEnum