Module

x/fluentci/deps.ts>z.ZodSchema#superRefine

This is the command line interface for FluentCI.
Go to Latest
method z.ZodSchema.prototype.superRefine
import { z } from "https://dotland.deno.dev/x/fluentci@v0.13.0/deps.ts";
const { ZodSchema } = 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>

Parameters

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

Returns

ZodEffects<this, Output, Input>