Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RefinementEffect

import type { RefinementEffect } from "https://esm.sh/zod@3.25.76/index.d.cts";
type RefinementEffect<T> = {
type: "refinement";
refinement: (arg: T, ctx: RefinementCtx) => any;
}
;

§Type Parameters

§Type

§
{
type: "refinement";
refinement: (arg: T, ctx: RefinementCtx) => any;
}
[src]