Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

z.preprocess

import { z } from "https://esm.sh/zod@3.25.76/index.d.cts"; 

const { preprocess } = z;
const preprocess: <I extends ZodTypeAny>(
preprocess: (arg: unknown, ctx: RefinementCtx) => unknown,
schema: I,
params?: RawCreateParams,
) => ZodEffects<I, I["_output"], unknown>
;