import { minWords } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/mod.ts";
Creates a min words validation action.
Parameters
locales: TLocales
The locales to be used.
requirement: TRequirement
The minimum words.
Returns
MinWordsAction<TInput, TLocales, TRequirement, undefined>
A min words action.
Creates a min words validation action.
Type Parameters
TMessage extends ErrorMessage<MinWordsIssue<TInput, TRequirement>> | undefined
Parameters
locales: TLocales
The locales to be used.
requirement: TRequirement
The minimum words.
message: TMessage
The error message.
Returns
A min words action.