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