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

x/valibot/src/index.ts>IncludesAction

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface IncludesAction
import { type IncludesAction } from "https://deno.land/x/valibot@v0.35.0/src/index.ts";

Includes action type.

Type Parameters

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

Properties

readonly
type: "includes"

The action type.

readonly
reference: includes

The action reference.

readonly
expects: string

The expected property.

readonly
requirement: TRequirement

The content to be included.

readonly
message: TMessage

The error message.