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

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

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

Creates a min graphemes validation action.

Type Parameters

TInput extends string
TRequirement extends number

Parameters

requirement: TRequirement

The minimum graphemes.

Returns

A min graphemes action.

Creates a min graphemes validation action.

Type Parameters

TInput extends string
TRequirement extends number
TMessage extends ErrorMessage<MinGraphemesIssue<TInput, TRequirement>> | undefined

Parameters

requirement: TRequirement

The minimum graphemes.

message: TMessage

The error message.