import { z } from "https://deno.land/x/zod@v3.20.3/index.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>