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