reduceLeftOption method
Returns a summary values of all elements of this collection by applying
f
to each element, moving left to right.
If this collection is empty, None will be returned.
Implementation
Option<A> reduceLeftOption(Function2<A, A, A> op) => switch (knownSize) {
0 => none(),
_ => _reduceOptionIterator(iterator, op),
};