Skip to content

ArgMax

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 element that maximizes the given key function (or the element itself when no key is given).

FungrimArgMaxFungrim entryc5bdcc
ArgMax(indexed_collection<T>, key: ((T) any -> unknown)?) -> integer where Tas compute-engine declares it

Domain: Compute engine