1.3.0 permalink 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:754 top

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

Comments top

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