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

x/valibot/mod.ts>NullSchema

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface NullSchema
implements BaseSchema<null, TOutput>
import { type NullSchema } from "https://deno.land/x/valibot@v0.30.0/mod.ts";

Null schema type.

Type Parameters

optional
TOutput = null

Properties

type: "null"

The schema type.

message: ErrorMessage | undefined

The error message.