Skip to content

Reduce

Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand. No examples yet — the crosswalk is the reason it has a page.

Reduce (fold) a collection to a single value by repeatedly applying a binary function, with an optional initial value.

Reduce(collection<T>, reducer: (unknown, T) any -> unknown, initial: value?) -> value where Tas compute-engine declares it

Domain: Compute engine