import { minBytes } from "https://deno.land/x/valibot@v1.0.0-beta.4/src/index.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
MinBytesAction<TInput, TRequirement, TMessage>
A min bytes action.