Glossary: Kotlin Beyond the Basics
fold
Also written: reduce
Carries a running value through a collection, starting from a value you give. `reduce` starts from the first item.
Glossary: Kotlin Beyond the Basics
Also written: reduce
Carries a running value through a collection, starting from a value you give. `reduce` starts from the first item.