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

x/valibot/src/schemas/undefined/index.ts>UndefinedSchema

The modular and type safe schema library for validating structural data 🤖
Go to Latest
interface UndefinedSchema
implements BaseSchema<undefined, undefined, UndefinedIssue>
import { type UndefinedSchema } from "https://deno.land/x/valibot@v0.1.0-to-json-schema/src/schemas/undefined/index.ts";

Undefined schema type.

Type Parameters

TMessage extends ErrorMessage<UndefinedIssue> | undefined

Properties

readonly
type: "undefined"

The schema type.

readonly
reference: undefined_

The schema reference.

readonly
expects: "undefined"

The expected property.

readonly
message: TMessage

The error message.