import { graphemes } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/actions/index.ts";
Creates a graphemes validation action.
Parameters
requirement: TRequirement
The required graphemes.
Returns
GraphemesAction<TInput, TRequirement, undefined>
A graphemes action.
Creates a graphemes validation action.
Type Parameters
TMessage extends ErrorMessage<GraphemesIssue<TInput, TRequirement>> | undefined
Parameters
requirement: TRequirement
The required graphemes.
message: TMessage
The error message.
Returns
A graphemes action.