4 ms·Elixir has the if-else being an expression. foo = if x, do: 1, else: 2by tobyhinloopen 4y agoElixir has the if-else being an expression. foo = if x, do: 1, else: 2