Module

x/zod/mod.ts>ZodType#parseAsync

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method ZodType.prototype.parseAsync
import { ZodType } from "https://dotland.deno.dev/x/zod@v3.20/mod.ts";

Parameters

data: unknown
optional
params: Partial<ParseParams>

Returns

Promise<Output>