Skip to main content
Module

x/valibot/mod.ts>NullableSchemaAsync

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

Nullable schema async type.

Type Parameters

TWrapped extends BaseSchema | BaseSchemaAsync
optional
TDefault extends Input<TWrapped> | undefined | Promise<Input<TWrapped> | undefined> = undefined
optional
TOutput = Awaited<TDefault> extends undefined ? Output<TWrapped> | null : Output<TWrapped>
definition: BaseSchemaAsync<Input<TWrapped> | null, TOutput> & { schema: "nullable"; wrapped: TWrapped; get default(): TDefault; }