Documentation ¶
Overview ¶
Package isemoji helps you determine whether a string is an emoji.
Index ¶
Constants ¶
View Source
const EmojiVersion = "14.0"
Variables ¶
This section is empty.
Functions ¶
func IsEmoji ¶
IsEmoji returns true if the provided string contains one fully-qualified emoji. Component emojis are also valid.
See the follow document for definitions of fully-qualified and component:
https://www.unicode.org/reports/tr51/#def_qualified_emoji_character
func IsEmojiNonStrict ¶
IsEmojiNonStrict returns true if the provided string contains one emoji. fully-qualified, minimally-qualified, unqualified, and component emojis all return true.
See the follow document for definitions of those terms:
https://www.unicode.org/reports/tr51/#def_qualified_emoji_character
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.