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

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

A frugal web framework
Latest
method z.Schema.prototype.superRefine
import { z } from "https://deno.land/x/frugal@0.9.6/dep/zod.ts";
const { Schema } = 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>