(into-array aseq)
(into-array type aseq)
Returns an array with components set to the values in aseq. Optional type
argument accepted for compatibility with Clojure.
Source
(defn
into-array
"Returns an array with components set to the values in aseq. Optional type\n argument accepted for compatibility with Clojure."
([aseq] (into-array nil aseq))
([type aseq] (reduce (fn [a x] (.push a x) a) (array) aseq)))