Skip to content

Latest commit

 

History

History

array-min

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

array-min

NPM version npm download

Get the minimum value in an array.

Installation

$ npm install --save ml-array-min

Usage

import min from 'ml-array-min';

const result = min([1, 5, 3, 2, 4]);
// 1

License

MIT