Shippex.Address.common_country_code

You're seeing just the function common_country_code, go back to Shippex.Address module for more information.
Link to this function

common_country_code(common_name)

View Source

Specs

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

Returns the country code for the given common name, or nil if none was found.

iex> Address.common_country_code("United States")
"US"
iex> Address.common_country_code("United States of America")
"US"