clojure.set/select

functionsince v0.0-927 clojure.set/selectEdit
(select pred xset)

Details:

Returns a set of the elements for which pred is true.


See Also:


Source docstring:
Returns a set of the elements for which pred is true
Source code @ clojurescript:src/main/cljs/clojure/set.cljs
(defn select
  [pred xset]
    (reduce (fn [s k] (if (pred k) s (disj s k)))
            xset xset))