arrayFoldLeft

arrayFoldLeft(array array, function f, any v0) → any result
Reduces the array [v1, v2, ..., vn] from the left, starting with the value v0 and successively applying the function f. Equivalent to: f(f(f(v0, v1), v2), ...)

Reduces the list array [v1, v2, ..., vn] from the left, starting from the value v0 and applying the function f.

Equivalent to: f(f(f(v0, v1), v2), ...)

If the array is empty, returns v0.

Parameters
Return