Islands.Client.IslandType (Islands Client Island Type v0.1.13) View Source
Converts island codes into island types in the Game of Islands.
Link to this section Summary
Functions
Converts an island code into an island type.
Link to this section Functions
Specs
new(String.codepoint()) :: Islands.Island.type() | {:error, atom()}
Converts an island code into an island type.
Examples
iex> alias Islands.Client.IslandType
iex> IslandType.new("a")
:atoll