import { notSize } from "https://deno.land/x/valibot@v1.0.0-beta.5/src/actions/index.ts";
Creates a not size validation action.
Type Parameters
TInput extends SizeInput
Parameters
requirement: TRequirement
The not required size.
Returns
NotSizeAction<TInput, TRequirement, undefined>
A not size action.
Creates a not size validation action.
Type Parameters
TInput extends SizeInput
TMessage extends ErrorMessage<NotSizeIssue<TInput, TRequirement>> | undefined
Parameters
requirement: TRequirement
The not required size.
message: TMessage
The error message.
Returns
A not size action.