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

x/valibot/mod.ts>UndefinedSchema

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

Undefined schema type.

Type Parameters

optional
TOutput = undefined

Properties

type: "undefined"

The schema type.

message: ErrorMessage | undefined

The error message.