set-from-indexed-seq

functionsince v0.0-1877Edit
(set-from-indexed-seq iseq)

Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn set-from-indexed-seq [iseq]
  (let [arr (.-arr iseq)
        ret (areduce arr i ^not-native res (-as-transient #{})
              (-conj! res (aget arr i)))]
    (-persistent! ^not-native ret)))