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

x/omdb/deps.ts>z.Schema#safeParseAsync

Access OMDb's API with Deno.
Go to Latest
method z.Schema.prototype.safeParseAsync
import { z } from "https://deno.land/x/omdb@v3.0.1/deps.ts";
const { Schema } = z;

Parameters

data: unknown
optional
params: Partial<ParseParams>

Returns

Promise<SafeParseReturnType<Input, Output>>