Skip to content

TakeWhile ​

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.

Return the leading elements of the collection for which the predicate returns True, stopping at the first element that does not.

TakeWhile(indexed_collection<T>, predicate: (T) any -> boolean) -> indexed_collection where Tas compute-engine declares it
Typed signatures
TypePackageApplies
(indexed_collection<T>, predicate: (T) any -> boolean) -> indexed_collection where Tcompute-enginealways

Domain: Compute engine

About