Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 306 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 306 Bytes

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.