reduce

fun <T> Field<T>.reduce(includingSelf: Boolean = true, transform: (accumulator: T, T) -> T): T

Reduce the elements of the field using the transform function.