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

x/valibot/src/actions/empty/index.ts>EmptyAction

The modular and type safe schema library for validating structural data 🤖
Latest
interface EmptyAction
implements BaseValidation<TInput, TInput, EmptyIssue<TInput>>
import { type EmptyAction } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/src/actions/empty/index.ts";

Empty action type.

Type Parameters

TInput extends LengthInput
TMessage extends ErrorMessage<EmptyIssue<TInput>> | undefined

Properties

readonly
type: "empty"

The action type.

readonly
reference: empty

The action reference.

readonly
expects: "0"

The expected property.

readonly
message: TMessage

The error message.