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)
  • (not= x y)
  • (not= x y & more)
Same as (not (= obj1 obj2))

1 Example top

  • user=> (not= 1 1)
    false
    
    user=> (not= 1 2)
    true
    
    user=> (not= true true)
    false
    
    user=> (not= true false)
    true
    
    user=> (not= true true true true)
    false
    
    user=> (not= true true false true)
    true
    
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:671 top

(defn not=
  "Same as (not (= obj1 obj2))"
  {:tag Boolean
   :added "1.0"}
  ([x] false)
  ([x y] (not (= x y)))
  ([x y & more]
   (not (apply = x y more))))
Vars in clojure.core/not=: = apply defn not

Comments top

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