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

x/valibot/src/validations/maxValue/maxValue.ts>MaxValueValidation

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface MaxValueValidation
implements BaseValidation<TInput>
import { type MaxValueValidation } from "https://deno.land/x/valibot@v0.30.0/src/validations/maxValue/maxValue.ts";

Max value validation type.

Type Parameters

TInput extends
| string
| number
| bigint
| boolean
| Date
TRequirement extends TInput

Properties

type: "max_value"

The validation type.

requirement: TRequirement

The maximum value.