Elixir One-line If Statement - Ternary Operator
condition && true value || false
Written by Terry Dellino
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Elixir
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#