Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/src/index.ts>nullType

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function nullType
import { nullType } from "https://deno.land/x/valibot@v0.11.1/src/index.ts";

Creates a null schema.

Parameters

optional
error: string

The error message.

Returns

A null schema.