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

x/valibot/mod.ts>NullSchemaAsync

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

Null schema async type.

Type Parameters

optional
TOutput = null

Properties

type: "null"

The schema type.

message: ErrorMessage | undefined

The error message.