Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/actions/notWords/notWords.ts>notWords

The modular and type safe schema library for validating structural data 🤖
Latest
function notWords
import { notWords } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/src/actions/notWords/notWords.ts";

Creates a not words validation action.

Type Parameters

TInput extends string
TLocales extends Intl.LocalesArgument
TRequirement extends number

Parameters

locales: TLocales

The locales to be used.

requirement: TRequirement

The not required words.

Returns

A not words action.

Creates a not words validation action.

Type Parameters

TInput extends string
TLocales extends Intl.LocalesArgument
TRequirement extends number
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.