# MaxValueAction

> This document is the Markdown version of [valibot.dev/api/MaxValueAction/](https://valibot.dev/api/MaxValueAction/). For the complete documentation index, see [llms.txt](https://valibot.dev/llms.txt).

Max value action interface.

## Generics

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

## Definition

- `MaxValueAction` `extends BaseValidation<TInput, TInput, MaxValueIssue<TInput, TRequirement>>`
  - `type` `'max_value'`
  - `reference` `typeof maxValue`
  - `expects` `` `<=${string}` ``
  - `requirement` `TRequirement`
  - `message` `TMessage`
