import { maxSize } from "https://deno.land/x/valibot@v0.24.0/src/validations/maxSize/maxSize.ts";
Creates a validation function that validates the size of a map, set or blob.
Type Parameters
TInput extends Map<any, any> | Set<any> | Blob
Parameters
requirement: TRequirement
The maximum size.
Returns
MaxSizeValidation<TInput, TRequirement>
A validation function.