Documentation / dataflow / com.femastudios.dataflow.extensions / kotlin.collections.Grouping
Go to reference

Extensions for kotlin.collections.Grouping

fold

Same as fold, but accepts Field and returns a new Field.

fun <T, K, R> Grouping<T, K>.fold(initialValue: Field<R>, operation: (accumulator: R, element: T) -> R): Field<Map<K, R>>

keyOf

Same as keyOf, but accepts Field and returns a new Field.

fun <T, K> Grouping<in T, K>.keyOf(element: Field<T>): Field<K>