Unicode.emoji-question-mark

You're seeing just the function emoji-question-mark, go back to Unicode module for more information.
Link to this function

emoji?(codepoint_or_string)

View Source

Specs

emoji?(codepoint_or_string()) :: boolean()

Returns true if a single Unicode codepoint (or all characters in the given string) are emoji otherwise returns false.

Arguments

  • codepoint_or_string is a single integer codepoint or a String.t.

Returns

  • true or false

For the string-version, the result will be true only if all codepoints in the string adhere to the property.

Examples

iex> Unicode.emoji? "🧐🤓🤩🤩ī¸đŸ¤¯"
true