如果集合中的值的任何Predicates在邏輯上為真,則返回false,否則為true。
下面是 not-any? 的使用示例:
(not-any? p1 col)
參數(shù) ? 'p1'是需要測試的Predicates。 'col'是需要測試的值的集合。
返回值 ? 如果集合中的值的任何Predicates在邏輯上為真,則返回false,否則為true。
下面是 not-any? 的使用示例:
(ns clojure.examples.example (:gen-class)) (defn Example [] (println (not-any? even? '(2 4 6)))) (Example)
以上示例將輸出以下結(jié)果:
false
更多建議: