Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netzo/deps/zod/mod.ts>ZodSchema#superRefine

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
method ZodSchema.prototype.superRefine
import { ZodSchema } from "https://deno.land/x/netzo@0.5.70/deps/zod/mod.ts";

Type Parameters

RefinedOutput extends Output

Parameters

refinement: (arg: Output, ctx: RefinementCtx) => arg is RefinedOutput

Parameters

refinement: (arg: Output, ctx: RefinementCtx) => void

Returns

ZodEffects<this, Output, Input>

Parameters

refinement: (arg: Output, ctx: RefinementCtx) => Promise<void>

Returns

ZodEffects<this, Output, Input>