minn

1.2.0 • Public • Published

minn

Quickly find the smallest value in an array [1,56,9,1925,586,3] -> [1]

Usage

$ yarn add minn
const min = require('min');

min([1, 3, 5, 7, 10]);
//=> 1

min([5, 'f', '0', 'o', 3]);
//=> 3

API

min(input)

input

Type: array

Array that min will find the lowest number for

Related

License

MIT © Evan Kysley

Package Sidebar

Install

npm i minn

Weekly Downloads

0

Version

1.2.0

License

MIT

Last publish

Collaborators

  • kysley