Email or username:

Password:

Forgot your password?
Top-level
Arne Brasseur

@russmatney it's so much more flexible and clear, compare:

#(or (= :test (:env %)) (= :dev (:env %))
(comp #{:test :dev} :env)
1 comment
russ

@plexus yep! Especially for multiple values as you showed. I love forms like this that make things easier to change (adding another value to this set literal vs another whole equality fn call)

Go Up