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

x/valibot/src/actions/excludes/excludes.ts>ExcludesAction

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

Excludes action type.

Type Parameters

TInput extends ContentInput
TRequirement extends ContentRequirement<TInput>
TMessage extends ErrorMessage<ExcludesIssue<TInput, TRequirement>> | undefined

Properties

readonly
type: "excludes"

The action type.

readonly
reference: excludes

The action reference.

readonly
expects: string

The expected property.

readonly
requirement: TRequirement

The content to be excluded.

readonly
message: TMessage

The error message.