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

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

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
function minGraphemes
import { minGraphemes } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/actions/minGraphemes/index.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.