Skip to content

IndexWhere

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 1-based index of the first element satisfying the predicate, or 0 if not found.

IndexWhere(collection<T>, predicate: (T) any -> boolean) -> integer where Tas compute-engine declares it

Domain: Compute engine