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

x/valibot/mod.ts>voidType

The modular and type safe schema library for validating structural data 🤖
Go to Latest
function voidType
import { voidType } from "https://deno.land/x/valibot@v0.19.0/mod.ts";

Creates a void schema.

Parameters

optional
error: ErrorMessage

The error message.

Returns

A void schema.