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