Enter Our Giveaways
Elixir Programming Language Forum
Function Parameter Pattern Matching on multiple candidates?
Questions & Help
Questions
pattern-matching
kevinschweikert
April 4, 2026, 9:42pm
2
You can use a guard for that
def foo(word) when word in [“a”, “b”] do end
show post in topic