reduce top-level property

B Function(Identity<A>) Function<A, B>(B initial, B f(B, A)) reduce
final

An alias to fold function.

Useful for scenarios where "reduce" is a more familiar terminology than "fold".

Implementation

final reduce = fold;