Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/mod.ts>IncludesAction

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface IncludesAction
import { type IncludesAction } from "https://deno.land/x/valibot@v0.35.0/mod.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.