Conditional guard for structs of an explicit type (opens in new tab)
The trick allowing to declare the guard that gracefully falls back on earlier versions of Elixir/OTP
Read the original articleThe trick allowing to declare the guard that gracefully falls back on earlier versions of Elixir/OTP
Read the original article