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

x/valibot/src/actions/index.ts>IncludesAction

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