| function | since v1.12.134 | Edit |
(vec-lite coll):lite-mode version of vec, not intended to be used directly.
(defn vec-lite
[coll]
(cond
(map-entry? coll)
[(key coll) (val coll)]
(vector? coll)
(with-meta coll nil)
(array? coll)
(.fromArray VectorLite coll)
:else
(into [] coll)))