clojure.set/superset?

functionsince v0.0-927 clojure.set/superset?Edit
(superset? set1 set2)

Details:

Returns true if a is a superset of b, false otherwise.

In other words, returns true if a contains all the elements of b.


See Also:


Source docstring:
Is set1 a superset of set2?
Source code @ clojurescript:src/main/cljs/clojure/set.cljs
(defn superset? 
  [set1 set2]
  (and (>= (count set1) (count set2))
       (every? #(contains? set1 %) set2)))