Skip to main content
Module

x/valibot/src/actions/index.ts>ToMaxValueAction

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface ToMaxValueAction
implements BaseTransformation<TInput, TInput, never>
import { type ToMaxValueAction } from "https://deno.land/x/valibot@v0.36.0/src/actions/index.ts";

To max value action type.

Type Parameters

TInput extends ValueInput
TRequirement extends TInput

Properties

readonly
type: "to_max_value"

The action type.

readonly
reference: toMaxValue

The action reference.

readonly
requirement: TRequirement

The maximum value.