reduceK

inline fun <T> Dataset<T>.reduceK(noinline func: (T, T) -> T): T

(Kotlin-specific) Reduces the elements of this Dataset using the specified binary function. The given func must be commutative and associative or the result may be non-deterministic.