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

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

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

Parameters

data: unknown
optional
params: Partial<ParseParams>

Returns

Promise<SafeParseReturnType<Input, Output>>