Skip to content

JonathonGold/smallest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smallest Build Status

Find the smallest number in a list

Install

$ npm install --save smallest

Usage

var smallest = require('smallest')

smallest(1, 2, 4, 3)
//=> 1

API

smallest(values) -> number

values

Required
Type: array[number]

An array of numbers or a variadic set of numbers.

Related

License

MIT © Ben Drucker

About

Find the smallest number in a list

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%