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

x/pup/deps.ts>z.ZodSchema#_refinement

Universal process manager built in Deno
Go to Latest
method z.ZodSchema.prototype._refinement
import { z } from "https://deno.land/x/pup@1.0.0-rc.5/deps.ts";
const { ZodSchema } = z;

Parameters

refinement: RefinementEffect<Output>["refinement"]

Returns

ZodEffects<this, Output, Input>