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

x/valibot/src/schemas/null/null.ts>NullSchema

The modular and type safe schema library for validating structural data 🤖
Go to Latest
interface NullSchema
implements BaseSchema<null, null, NullIssue>
import { type NullSchema } from "https://deno.land/x/valibot@v0.2.0-to-json-schema/src/schemas/null/null.ts";

Null schema type.

Type Parameters

TMessage extends ErrorMessage<NullIssue> | undefined

Properties

readonly
type: "null"

The schema type.

readonly
reference: null_

The schema reference.

readonly
expects: "null"

The expected property.

readonly
message: TMessage

The error message.