go-isemoji
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.