ml-array-max
v1.2.4
Published
Get the maximum value in an array
Downloads
1,041,711
Readme
array-max
Get the maximum value in an array.
Installation
$ npm install --save ml-array-max
Usage
import max from 'ml-array-max';
const result = max([1, 5, 3, 2, 4]);
// 5