LivePhone.Countries.get_country

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

get_country(country_code)

View Source

Specs

get_country(String.t()) :: {:ok, LivePhone.Country.t()} | {:error, :not_found}

This function will lookup a Country by it's country code.

Examples:

  iex> LivePhone.Countries.get_country("US")
  {:ok, %LivePhone.Country{code: "US", flag_emoji: "πŸ‡ΊπŸ‡Έ", name: "United States of America (the)", preferred: false, region_code: "1"}}

  iex> LivePhone.Countries.get_country("FAKE")
  {:error, :not_found}