Const
Returns a collector that returns the maximum value in a sequence of numbers.
Type of items in the source.
Collector that returns the maximum value in a sequence of numbers.
const result = max()([1, 2, 3]);console.log(result); // 3 Copy
const result = max()([1, 2, 3]);console.log(result); // 3
Returns a collector that returns the maximum value in a sequence of numbers.