You're viewing version 1.2.0 of not. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16
  • (not x)
Returns true if x is logical false, false otherwise.

1 Example top

  • 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
Log in to add / edit an example.

See Also top

Log in to add a see also.

Comments top

No comments for not. Log in to add a comment.