makeworld-the-better-one / go-isemoji

Go library to test if a string is an emoji.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Go library to test if a string is an emoji.

License:MIT License


Languages

Language:Go 100.0%