3 ms·
There are typespec annotations. The syntax using guards allows you to have for example: def backlog(board_id) when is_integer(board_id), do: something and de
by ch4s3 9y ago
There are typespec annotations. The syntax using guards allows you to have for example:
def backlog(board_id) when is_integer(board_id), do: something
and
def backlog(board_id) when is_list(board_id), do: some_list_thing