Number Packages

closest-to

A function that, when given a target number and an array of numbers, will return the array value closest to the target.

2.0.0 • Published 9 years ago