not-any?

clojure.core

  • (not-any? pred coll)
Returns false if (pred x) is logical true for any x in coll,
else true.

1 Example top

  • user=> (not-any? odd? '(2 4 6))
    true
    user=> (not-any? odd? '(1 2 3))
    false
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:2390 top

(def
 ^{:tag Boolean
   :doc "Returns false if (pred x) is logical true for any x in coll,
  else true."
   :arglists '([pred coll])
   :added "1.0"}
 not-any? (comp not some))
Vars in clojure.core/not-any?:
Used in 0 other vars

Comments top

No comments for not-any?. Log in to add a comment.