Skip to main content
Module

x/zod/mod.ts>Schema#_refinement

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method Schema.prototype._refinement
import { Schema } from "https://deno.land/x/zod@v3.20.0/mod.ts";

Parameters

refinement: RefinementEffect<Output>["refinement"]

Returns

ZodEffects<this, Output, Input>