reduce method

E reduce(
  1. E combine(
    1. E value,
    2. E element
    )
)

Implementation

E reduce(E Function(E value, E element) combine) => value.reduce(combine);