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

x/valibot/src/actions/maxGraphemes/index.ts>maxGraphemes

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

Creates a max graphemes validation action.

Type Parameters

TInput extends string
TRequirement extends number

Parameters

requirement: TRequirement

The maximum graphemes.

Returns

A max graphemes action.

Creates a max graphemes validation action.

Type Parameters

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

Parameters

requirement: TRequirement

The maximum graphemes.

message: TMessage

The error message.