ml-array-min

Get the minimum value in an array

Usage no npm install needed!

<script type="module">
  import mlArrayMin from 'https://cdn.skypack.dev/ml-array-min';
</script>

README

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