Method
Fold
func Fold<T, U>(seed: U, accumulator: (U, T) -> U) -> U
Declaring type: Operators
Module: System.Linq
Assembly: System.Runtime.dll
Extension from Operators.Fold
Parameters
| Name | Type | Description |
|---|---|---|
self |
Iterable<T> | |
seed |
U | |
accumulator |
Function |
Return value
U