is-only-emojis
v1.0.1
Published
Returns whether a string contains only emojis or not.
Downloads
4
Maintainers
Readme
is-only-emojis
Returns whether a string contains only emojis or not.
const isOnlyEmojis = require('is-only-emojis')
isOnlyEmojis('') // true
isOnlyEmojis(' 😲 -> 😎') // false
isOnlyEmojis('\n❤️ 🚗') // true
isOnlyEmojis('Coming 🔜') // false