to-array
(to-array coll)
Answers an object array holding the contents of coll. An array is a vector here, as
one make-array makes: it reads through aget, writes through
aset, measures through alength, copies through
aclone, and takes every seq verb, count, nth, get and = as a vector
does. class answers :vector, str and pr print the vector, and = compares
elements, where the oracle answers its classes, prints #object and compares by
identity (deviations). A value that is no seqable is the oracle's
RuntimeException (Unable to convert: ... to Object[]). Runs on every backend; as a
value a one-argument function.