Skip to content

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 ​

ParameterType
valuesTValue[]
accessor(value) => number

Returns ​

number