package
Get the maximum value in an array
npm install ml-array-maxGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Get the maximum value in an array.
$ npm install --save ml-array-max
import max from 'ml-array-max';
const result = max([1, 5, 3, 2, 4]);
// 5targos
npm@secmail.targos.dev
Estimated unpacked size across 2 packages.
14.3 kB
Includes dependencies.