greatest
v1.0.2
Published
Find the largest number in a list
Downloads
17
Readme
greatest
Find the largest number in a list
Install
$ npm install --save greatest
Usage
var greatest = require('greatest')
greatest(1, 2, 4, 3)
//=> 4
API
greatest(values)
-> number
values
Required
Type: array[number]
An array of nubmers or a variadic set of numbers.
License
MIT © Ben Drucker