Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/frugal/dep/zod.ts>ZodEnum#exclude

A frugal web framework
Latest
method ZodEnum.prototype.exclude
import { ZodEnum } from "https://deno.land/x/frugal@0.9.6/dep/zod.ts";

Type Parameters

ToExclude extends readonly [T[number], ...T[number][]]

Returns

ZodEnum<typecast<Writeable<FilterEnum<T, ToExclude[number]>>, [string, ...string[]]>>