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

x/valibot/src/schemas/undefinedType/undefinedType.ts>undefinedType

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

Creates a undefined schema.

Parameters

optional
error: string

The error message.

Returns

A undefined schema.