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

x/valibot/mod.ts>MinValueAction

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface MinValueAction
import { type MinValueAction } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/mod.ts";

Min value action type.

Type Parameters

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

Properties

readonly
type: "min_value"

The action type.

readonly
reference: minValue

The action reference.

readonly
expects: `>=${string}`

The expected property.

readonly
requirement: TRequirement

The minimum value.

readonly
message: TMessage

The error message.