![]() |
hace 2 años | |
---|---|---|
.. | ||
lib | hace 2 años | |
test | hace 2 años | |
.editorconfig | hace 2 años | |
.npmignore | hace 2 años | |
.travis.yml | hace 2 años | |
LICENSE | hace 2 años | |
README.md | hace 2 años | |
package.json | hace 2 años | |
yarn.lock | hace 2 años |
Checks whether provided parameter looks like a number
true
if val
looks like a number, false
otherwiseconst isNumberLike = require('is-number-like')
isNumberLike('2') // true
isNumberLike('a') // false