a-max
v1.0.0
Published
Returns maximum value in array
Downloads
10
Maintainers
Readme
a-max
Returns maximum value in array
Install
$ npm install --save a-max
Examples
var getMax = require('a-max');
console.log(getMax([1, 2, 3, 4]));
// -> 4
Usage
require('a-max')( array )
Arguments:
array
: array of Numbers
Returns: Returns maximum value from array
License
© 2016 vikram. MIT License