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

x/valibot/src/schemas/void/void.ts>VoidSchema

The modular and type safe schema library for validating structural data 🤖
Latest
interface VoidSchema
implements BaseSchema<void, void, VoidIssue>
import { type VoidSchema } from "https://deno.land/x/valibot@v1.0.0-beta.5/src/schemas/void/void.ts";

Void schema type.

Type Parameters

TMessage extends ErrorMessage<VoidIssue> | undefined

Properties

readonly
type: "void"

The schema type.

readonly
reference: void_

The schema reference.

readonly
expects: "void"

The expected property.

readonly
message: TMessage

The error message.