import { minValue } from "https://deno.land/x/valibot@v0.1.0-to-json-schema/src/actions/minValue/index.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.