/go-isemoji

Go library to test if a string is an emoji.

Primary LanguageGoMIT LicenseMIT

go-isemoji

go reportcard GoDoc license

Go library to test if a string is an emoji.

Usage

isemoji.IsEmoji("🤗")    // True
isemoji.IsEmoji("test")  // False
isemoji.IsEmoji("🙇🏼‍♂️🤗")  // False, because there are multiple emojis
isemoji.Name("👨🏼‍🦰")       // "man: medium-light skin tone, red hair"

Find the full documentation on godoc.

License

This project is under the MIT License.