0.1.0 • Published 7 years ago

if-emoji v0.1.0

Weekly downloads
835
License
MIT
Repository
github
Last release
7 years ago

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.