import { notValue } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/index.ts";
Creates a not value validation action.
Type Parameters
TInput extends ValueInput
TRequirement extends TInput
Parameters
requirement: TRequirement
The not required value.
Returns
NotValueAction<TInput, TRequirement, undefined>
A not value action.
Creates a not value validation action.
Type Parameters
TInput extends ValueInput
TRequirement extends TInput
TMessage extends ErrorMessage<NotValueIssue<TInput, TRequirement>> | undefined
Parameters
requirement: TRequirement
The not required value.
message: TMessage
The error message.
Returns
A not value action.