Skip to content

utils.ArrayUtils.Function.argMax

Christian d'Heureuse edited this page Jun 6, 2026 · 2 revisions

dsp-collection / utils/ArrayUtils / argMax

Function: argMax()

function argMax(a): number;

Returns the index of the maximum value of an array of numbers.

Parameters

a

ArrayLike<number>

Returns

number

Clone this wiki locally