import { minBytes } from "https://deno.land/x/valibot@v0.35.0/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
A min bytes action.