closest-number
Find the closest number out of an array to a specific value
Install
$ npm i closest-number
Usage
const closestNumber = ; ;// => 10
License
MIT © André Ruffert
Find the closest number out of an array to a specific value
$ npm i closest-number
const closestNumber = ; ;// => 10
MIT © André Ruffert
npm i closest-number
4
1.0.3
MIT
2.53 kB
4