.. | |||
lib | 3 months ago | ||
test | 3 months ago | ||
.editorconfig | 3 months ago | ||
.npmignore | 3 months ago | ||
.travis.yml | 3 months ago | ||
LICENSE | 3 months ago | ||
README.md | 3 months ago | ||
package.json | 3 months ago | ||
yarn.lock | 3 months ago |
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