import { minSize } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/src/actions/minSize/index.ts";
Creates a min size validation action.
Parameters
requirement: TRequirement
The minimum size.
Returns
MinSizeAction<TInput, TRequirement, undefined>
A min size action.
Creates a min size validation action.
Type Parameters
TMessage extends ErrorMessage<MinSizeIssue<TInput, TRequirement>> | undefined
Parameters
requirement: TRequirement
The minimum size.
message: TMessage
The error message.
Returns
MinSizeAction<TInput, TRequirement, TMessage>
A min size action.