to-array

functionsince v0.0-927 clojure.core/to-arrayEdit
(to-array coll)

Source docstring:
Returns an array containing the contents of coll.
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn to-array
  [coll]
  (let [ary (array)]
    (loop [s (seq coll)]
      (if-not (nil? s)
        (do (. ary push (first s))
            (recur (next s)))
        ary))))