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

x/valibot/src/schemas/undefined/undefined.ts>undefined_

The modular and type safe schema library for validating structural data 🤖
Latest
function undefined_
import { undefined_ } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/schemas/undefined/undefined.ts";

Creates an undefined schema.

Returns

UndefinedSchema<undefined>

An undefined schema.

Creates an undefined schema.

Type Parameters

TMessage extends ErrorMessage<UndefinedIssue> | undefined

Parameters

message: TMessage

The error message.

Returns

An undefined schema.