Use of the case Keyword
Learn the use of the case macro in Elixir.
The case
macro lets us test a value against a set of patterns, executes the code associated with the first pattern that matches, and returns the value of that code. The patterns may include guard clauses. ...