Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_books/deps.ts>z.ZodSchema#transform

Access OpenLibrary's API with Deno.
Go to Latest
method z.ZodSchema.prototype.transform
import { z } from "https://deno.land/x/deno_books@v1.2.0/deps.ts";
const { ZodSchema } = z;

Parameters

transform: (arg: Output, ctx: RefinementCtx) => NewOut | Promise<NewOut>