1.2.0 permalink Arrow_down_16x16
  • (superset? set1 set2)
Is set1 a superset of set2?

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/set.clj:32 top

(defn superset? 
  "Is set1 a superset of set2?"
  {:deprecated "1.2"}
  [set1 set2]
  {:tag Boolean}
  (and (>= (count set1) (count set2))
       (every? set1 set2)))
Vars in clojure.contrib.set/superset?: >= and count defn every?
Used in 0 other vars

Comments top

No comments for superset?. Log in to add a comment.