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

x/valibot/mod.ts>NonNullishSchemaAsync

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

Non nullish schema async type.

Type Parameters

TWrapped extends BaseSchema | BaseSchemaAsync
optional
TOutput = NonNullishOutput<TWrapped>
definition: BaseSchemaAsync<NonNullishInput<TWrapped>, TOutput> & { type: "non_nullish"; wrapped: TWrapped; message: ErrorMessage | undefined; }