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