import { notWords } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/index.ts";
Creates a not words validation action.
Parameters
locales: TLocales
The locales to be used.
requirement: TRequirement
The not required words.
Returns
NotWordsAction<TInput, TLocales, TRequirement, undefined>
A not words action.
Creates a not words validation action.
Type Parameters
TMessage extends ErrorMessage<NotWordsIssue<TInput, TRequirement>> | undefined
Parameters
locales: TLocales
The locales to be used.
requirement: TRequirement
The not required words.
message: TMessage
The error message.
Returns
A not words action.