Cldr.default_territory
You're seeing just the function
default_territory
, go back to Cldr module for more information.
Specs
Returns the default territory when a locale does not specify one and none can be inferred.
Arguments
backend
is any module that includesuse Cldr
and therefore is aCldr
backend module. The default isCldr.default_backend/0
Returns
The default territory or
Raises if no argument is supplied and there is no default backend configured
Example
iex> Cldr.default_territory(TestBackend.Cldr)
:"001"