![]() |
3 年之前 | |
---|---|---|
.. | ||
lib | 3 年之前 | |
test | 3 年之前 | |
.editorconfig | 3 年之前 | |
.npmignore | 3 年之前 | |
.travis.yml | 3 年之前 | |
LICENSE | 3 年之前 | |
README.md | 3 年之前 | |
package.json | 3 年之前 | |
yarn.lock | 3 年之前 |
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