Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pup/deps.ts>z.ZodSetDef

Universal process manager built in Deno
Go to Latest
interface z.ZodSetDef
implements ZodTypeDef
import { type z } from "https://deno.land/x/pup@1.0.0-rc.9/deps.ts";
const { ZodSetDef } = z;

Type Parameters

optional
Value extends ZodTypeAny = ZodTypeAny

Properties

valueType: Value
typeName: ZodFirstPartyTypeKind.ZodSet
minSize: { value: number; message?: string; } | null
maxSize: { value: number; message?: string; } | null