Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/mod.ts>NonNullableSchemaAsync

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

Non nullable schema async type.

Type Parameters

TWrapped extends BaseSchema | BaseSchemaAsync
optional
TOutput = NonNullableOutput<TWrapped>
definition: BaseSchemaAsync<NonNullableInput<TWrapped>, TOutput> & { type: "non_nullable"; wrapped: TWrapped; message: ErrorMessage | undefined; }