LivePhone.emoji_for_country

You're seeing just the function emoji_for_country, go back to LivePhone module for more information.
Link to this function

emoji_for_country(country_code)

View Source

Specs

emoji_for_country(String.t() | nil) :: String.t()

Parses the given country_code into an emoji, but I should note that the emoji is not validated so it might return an invalid emoji (this will also depend on the unicode version supported by your operating system, and which flags are included.)

Examples

iex> LivePhone.emoji_for_country(nil)
""

iex> LivePhone.emoji_for_country("US")
"πŸ‡ΊπŸ‡Έ"