Guard Clause on Elixir Typespec
TIL that Elixir
has some type of guard clause for typespec:
I still prefer to use @type
instead, but it's always useful to know alternatives.
TIL that Elixir
has some type of guard clause for typespec:
I still prefer to use @type
instead, but it's always useful to know alternatives.