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

x/valibot/src/transformations/toMaxValue/index.ts>ToMaxValueTransformation

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias ToMaxValueTransformation
import { type ToMaxValueTransformation } from "https://deno.land/x/valibot@v0.28.1/src/transformations/toMaxValue/index.ts";

To max value transformation type.

Type Parameters

TInput extends
| string
| number
| bigint
| Date
TRequirement extends TInput
definition: BaseTransformation<TInput> & { type: "to_max_value"; requirement: TRequirement; }