HashSetIter

typesince v1.7.28Edit
(HashSetIter. iter)

Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(deftype HashSetIter [iter]
  Object
  (hasNext [_]
    (.hasNext iter))
  (next [_]
    (if ^boolean (.hasNext iter)
      (.-key (.next iter))
      (throw (js/Error. "No such element"))))
  (remove [_] (js/Error. "Unsupported operation")))