is-this-a-number
This small package checks if the parameter is a number.
Usage
First let's install the package:
npm i is-this-a-number
Now you can require it in your project and use:
isNumber(x)
Where x
is anything. The function will return a boolean.