Question : elixir module
Answered by : cute-caribou-zr76ww9bgy33
defmodule Math do def zero?(0), do: true def zero?(x) when is_integer(x), do: false
end
Source : https://elixir-lang.org/getting-started/modules-and-functions.html | Last Update : Wed, 01 Sep 21