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

x/valibot/mod.ts>NonNullableSchema

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

Non nullable schema type.

Type Parameters

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