Skip to main content
Module

x/valibot/mod.ts>emoji

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function emoji
import { emoji } from "https://deno.land/x/valibot@v0.21.0/mod.ts";

Creates a validation function that validates an emoji.

Type Parameters

TInput extends string

Parameters

optional
message: ErrorMessage = [UNSUPPORTED]

The error message.

Returns

EmojiValidation<TInput>

A validation function.