Module

x/zod/mod.ts>ZodType#_refinement

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

Parameters

refinement: RefinementEffect<Output>["refinement"]

Returns

ZodEffects<this, Output, Input>