macro | since v0.0-927 | imported clojure.core/when-not | Edit |
(when-not test & body)
Evaluates test
. If logical false, evaluates body
in an implicit do
.
Evaluates test. If logical false, evaluates body in an implicit do.
(defmacro when-not
{:added "1.0"}
[test & body]
(list 'if test nil (cons 'do body)))