LivePhone.Countries.list_countries

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

list_countries(preferred \\ [])

View Source

Specs

list_countries([String.t()]) :: [LivePhone.Country.t()]

This function returns all known countries as LivePhone.Country structs, sorted alphabetically by country name.

Optionally you can specify a list of preferred country codes, these will subsequently be prepended to the list.

# This will return everything alphabetically
abc_countries = LivePhone.Countries.list_countries()

# This will return it alphabetically as well, but push
# the US and GB `LivePhone.Country` structs to the top
# of the list.
my_countries = LivePhone.Countries.list_countries(["US", "GB"])