Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

fold

🌌array.fold

§fold(i i32, s T, m Monoid<array.T>)
 => 
T
:
Object

fold the elements of this array using the given monoid and initial value

Used to fold an array tail-recursively