import { notLength } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/src/actions/index.ts";
Creates a not length validation action.
Parameters
requirement: TRequirement
The not required length.
Returns
NotLengthAction<TInput, TRequirement, undefined>
A not length action.
Creates a not length validation action.
Type Parameters
TMessage extends ErrorMessage<NotLengthIssue<TInput, TRequirement>> | undefined
Parameters
requirement: TRequirement
The not required length.
message: TMessage
The error message.
Returns
NotLengthAction<TInput, TRequirement, TMessage>
A not length action.