import { z } from "https://deno.land/x/zod@v3.22.0/mod.ts";
const { ZodType } = z;
Parameters
refinement: (arg: Output, ctx: RefinementCtx) => arg is RefinedOutput
Returns
ZodEffects<this, RefinedOutput, Input>
Parameters
refinement: (arg: Output, ctx: RefinementCtx) => void | Promise<void>
Returns
ZodEffects<this, Output, Input>