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

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

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

Parameters

refinement: RefinementEffect<Output>["refinement"]

Returns

ZodEffects<this, Output, Input>