| function | since v0.0-927 | Edit |
(superset? set1 set2)Returns true if a is a superset of b, false otherwise.
In other words, returns true if a contains all the elements of b.
Is set1 a superset of set2?
(defn superset?
[set1 set2]
(and (>= (count set1) (count set2))
(every? #(contains? set1 %) set2)))