MyApp.Cldr.Territory.contains-question-mark
You're seeing just the function
contains-question-mark
, go back to MyApp.Cldr.Territory module for more information.
Specs
contains?(Cldr.Territory.atom_tag(), Cldr.Territory.atom_tag()) :: boolean()
Checks relationship between two territories, where the first argument is the parent
and second the child
.
Returns true
if successful, otherwise false
.
Example
iex> MyApp.Cldr.Territory.contains?(:EU, :DK)
true
iex> MyApp.Cldr.Territory.contains?(:DK, :EU)
false