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.19.1/mod.ts";
const { ZodEnumDef } = z;

Type Parameters

optional
T extends EnumValues = EnumValues

Properties

values: T
typeName: ZodFirstPartyTypeKind.ZodEnum