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

x/valibot/src/index.ts>ExcludesAction

The modular and type safe schema library for validating structural data 🤖
Go to Latest
interface ExcludesAction
import { type ExcludesAction } from "https://deno.land/x/valibot@v1.0.0-beta.4/src/index.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.