toArray

inline fun <T> <Error class: unknown class><out <Error class: unknown class>>.toArray(): Array<T>

Collects the dataset as Array where each item has been mapped to type T.