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

x/frugal/dep/zod.ts>z.ZodEffects

A frugal web framework
Latest
class z.ZodEffects
import { z } from "https://deno.land/x/frugal@0.9.6/dep/zod.ts";
const { ZodEffects } = z;

Type Parameters

T extends ZodTypeAny
optional
Output = output<T>
optional
Input = input<T>

Static Properties

create: <I extends ZodTypeAny>(
schema: I,
effect: Effect<I["_output"]>,
params?: RawCreateParams,
) => ZodEffects<I, I["_output"]>
createWithPreprocess: <I extends ZodTypeAny>(
preprocess: (arg: unknown) => unknown,
schema: I,
params?: RawCreateParams,
) => ZodEffects<I, I["_output"], unknown>