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

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

The modular and type safe schema library for validating structural data 🤖
Go to Latest
interface ToMaxValueAction
implements BaseTransformation<TInput, TInput, never>
import { type ToMaxValueAction } from "https://deno.land/x/valibot@v1.0.0-beta.4/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.