import { minValue } from "https://deno.land/x/valibot@v1.0.0-beta.5/src/actions/minValue/minValue.ts";
Creates a min value validation action.
Type Parameters
TInput extends ValueInput
TRequirement extends TInput
Parameters
requirement: TRequirement
The minimum value.
Returns
MinValueAction<TInput, TRequirement, undefined>
A min value action.
Creates a min value validation action.
Type Parameters
TInput extends ValueInput
TRequirement extends TInput
TMessage extends ErrorMessage<MinValueIssue<TInput, TRequirement>> | undefined
Parameters
requirement: TRequirement
The minimum value.
message: TMessage
The error message.
Returns
A min value action.