glam/node_modules/.pnpm/ml-array-max@1.2.4/node_modules/ml-array-max
2025-12-21 00:01:54 +01:00
..
lib remove a,bihguous web-claims 2025-12-21 00:01:54 +01:00
lib-es6 remove a,bihguous web-claims 2025-12-21 00:01:54 +01:00
src remove a,bihguous web-claims 2025-12-21 00:01:54 +01:00
LICENSE remove a,bihguous web-claims 2025-12-21 00:01:54 +01:00
package.json remove a,bihguous web-claims 2025-12-21 00:01:54 +01:00
README.md remove a,bihguous web-claims 2025-12-21 00:01:54 +01:00
types.d.ts remove a,bihguous web-claims 2025-12-21 00:01:54 +01:00

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