and
returns its last argument if all the arguments are truthy, otherwise it returns false
(it also stops evaluating the arguments as soon as it reaches the first falsey one). In Clojure, unlike Javascript, 0
and 1
are both truthy. The only falsey values in Clojure are false
and nil
.
http://blog.jayfields.com/2011/02/clojure-truthy-and-falsey.html