Skip to main content
Module

x/valibot/mod.ts>OptionalSchemaAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias OptionalSchemaAsync
Re-export
import { type OptionalSchemaAsync } from "https://deno.land/x/valibot@v0.13.1/mod.ts";

Optional schema async type.

Type Parameters

TWrappedSchema extends BaseSchema | BaseSchemaAsync
optional
TOutput = Output<TWrappedSchema> | undefined
definition: BaseSchemaAsync<Input<TWrappedSchema> | undefined, TOutput> & { schema: "optional"; wrapped: TWrappedSchema; }