import { toMaxValue } from "https://deno.land/x/valibot@v0.24.0/src/transformations/index.ts";
Creates a transformation function that sets a string, number or date to a maximum value.
Parameters
requirement: TRequirement
The maximum value.
Returns
A transformation function.