Dafrok / if-emoji

Check a character if it is a correctly supported emoji.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

if-emoji

Check a character if it is a correctly supported emoji.

Install

$ npm i if-emoji

Usage

import ifEmoji from 'if-emoji'

ifEmoji('蛤') // => false
ifEmoji('🐸') // => If your system / browser supports this emoji character correctly, the returned value will be true.

About

Check a character if it is a correctly supported emoji.

License:MIT License


Languages

Language:JavaScript 100.0%