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

x/valibot/src/actions/nonEmpty/nonEmpty.ts>NonEmptyAction

The modular and type safe schema library for validating structural data 🤖
Latest
interface NonEmptyAction
import { type NonEmptyAction } from "https://deno.land/x/valibot@v1.0.0-beta.5/src/actions/nonEmpty/nonEmpty.ts";

Non empty action type.

Type Parameters

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

Properties

readonly
type: "non_empty"

The action type.

readonly
reference: nonEmpty

The action reference.

readonly
expects: "!0"

The expected property.

readonly
message: TMessage

The error message.