import { notSize } from "https://deno.land/x/valibot@v0.1.0-to-json-schema/src/actions/notSize/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.