mode
Call Signature
Section titled “Call Signature”mode(
values):number[]
Defined in: average.ts:181
Calculates the mode of a list of numbers.
The mode is the number that appears most frequently in the list. If multiple numbers have the same highest frequency, all of them are returned.
Parameters
Section titled “Parameters”values
Section titled “values”readonly number[]
The values to calculate the mode of, as an array or as separate arguments.
Returns
Section titled “Returns”number[]
Mode of the numbers (can be multiple values).
https://en.wikipedia.org/wiki/Mode_(statistics)
Call Signature
Section titled “Call Signature”mode(…
values):number[]
Defined in: average.ts:182
Calculates the mode of a list of numbers.
The mode is the number that appears most frequently in the list. If multiple numbers have the same highest frequency, all of them are returned.
Parameters
Section titled “Parameters”values
Section titled “values”…number[]
The values to calculate the mode of, as an array or as separate arguments.
Returns
Section titled “Returns”number[]
Mode of the numbers (can be multiple values).