Skip to content

FlatMap ​

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.

Map a function over a collection and concatenate the results into a single list, splicing collection-valued results and keeping scalar results as single elements.

FlatMap(collection<T>, mapping: (T) any -> U) -> list where T, Uas compute-engine declares it
Typed signatures
TypePackageApplies
(collection<T>, mapping: (T) any -> U) -> list where T, Ucompute-enginealways

Domain: Compute engine

About