Fork me on GitHub
#beginners
<
2017-10-14
>
tkjone17:10:00

Just want to confirm that an if form in Clojure would be the equivalent of a ternary in a language like JS - condition ? "val 1" : "val 2"?

codonnell17:10:53

@tkjone that's correct

noisesmith18:10:01

if a ternary didn't require the second result, yes

tkjone18:10:44

hahaha, true