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