arrayFoldRight

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

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

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

If the array is empty, returns v0.

Parameters
Return