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

x/valibot/src/index.ts>ToMaxValueAction

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