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