toArray

inline fun <T> Dataset<*>.toArray(): Array<T>

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