import { notSize } from "https://deno.land/x/valibot@v0.24.0/src/index.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 size.
optional
message: ErrorMessage = [UNSUPPORTED]The error message.
Returns
A validation function.