Skip to main content
Module

x/valibot/mod.ts>NullishSchema

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

Nullish schema type.

Type Parameters

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