1.2.4 • Published 2 years ago

ml-array-max v1.2.4

Weekly downloads
40,993
License
MIT
Repository
github
Last release
2 years ago

array-max

NPM version npm download

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

License

MIT