Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method z.Schema.prototype.safeParseAsync
import { z } from "https://deno.land/x/frugal@0.3.0/dep/zod.ts";
const { Schema } = z;

Parameters

data: unknown
optional
params: Partial<ParseParams>

Returns

Promise<SafeParseReturnType<Input, Output>>