//arrow-core/arrow.core/Option/reduceOrNull

reduceOrNull

common inline fun <B> reduceOrNull(initial: (A) -> B, operation: (B, A) -> B): B?

Do you like Arrow?

Arrow Org
<