Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
feld (feld@friedcheese.us)'s status on Friday, 30-Aug-2024 23:12:48 JSTfeld @mischievoustomato multiple functions with the same name, first match wins
you do pattern matching in the args given to the function
def is_cool?(%{user: feld}), do: true
def is_cool(_), do: false