import { z } from "https://deno.land/x/pup@1.0.0-alpha-32/deps.ts";
const { ZodNativeEnum } = z;
Type Parameters
T extends EnumLike
Methods
_parse(input: ParseInput): ParseReturnType<T[keyof T]>
Static Properties
create: <T extends EnumLike>(values: T, params?: RawCreateParams) => ZodNativeEnum<T>