Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/frugal/dep/zod.ts>z.ZodType#superRefine

A frugal web framework
Latest
method z.ZodType.prototype.superRefine
Re-export
import { z } from "https://deno.land/x/frugal@0.9.6/dep/zod.ts";
const { ZodType } = z;

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>