Documentation / @ripl/utilities / numberMaxOf
Function: numberMaxOf() ​
numberMaxOf<
TValue>(values,accessor):number
Defined in: packages/utilities/src/number.ts:44
Returns the maximum numeric value extracted from an array via the accessor (-Infinity when empty).
Type Parameters ​
| Type Parameter |
|---|
TValue |
Parameters ​
| Parameter | Type |
|---|---|
values | TValue[] |
accessor | (value) => number |
Returns ​
number