Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/cav/test/deps.ts>zod.z.ZodSet

A server framework for Deno
Go to Latest
class zod.z.ZodSet
extends ZodType<Set<Value["_output"]>, ZodSetDef<Value>, Set<Value["_input"]>>
import { zod } from "https://deno.land/x/cav@0.2.0-alpha.7/test/deps.ts";
const { ZodSet } = zod.z;

Type Parameters

optional
Value extends ZodTypeAny = ZodTypeAny

Methods

_parse(input: ParseInput): ParseReturnType<this["_output"]>
max(maxSize: number, message?: errorUtil.ErrMessage): this
min(minSize: number, message?: errorUtil.ErrMessage): this
nonempty(message?: errorUtil.ErrMessage): ZodSet<Value>
size(size: number, message?: errorUtil.ErrMessage): this

Static Properties

create: <Value extends ZodTypeAny = ZodTypeAny>(valueType: Value, params?: RawCreateParams) => ZodSet<Value>