user=> (not true) false user=> (not false) true ;; acts as complement of `boolean` user=> (boolean "a string") true user=> (not "a string") false user=> (boolean 1) true user=> (not 1) false
(defn not
"Returns true if x is logical false, false otherwise."
{:tag Boolean
:added "1.0"}
[x] (if x false true))
Comments top
No comments for not. Log in to add a comment.