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

x/valibot/mod.ts>MaxValueAction

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

Max value action type.

Type Parameters

TInput extends ValueInput
TRequirement extends TInput
TMessage extends ErrorMessage<MaxValueIssue<TInput, TRequirement>> | undefined

Properties

readonly
type: "max_value"

The action type.

readonly
reference: maxValue

The action reference.

readonly
expects: `<=${string}`

The expected property.

readonly
requirement: TRequirement

The maximum value.

readonly
message: TMessage

The error message.