Kevin 29b9a0c50c clean && clean html base il y a 4 ans
..
lib 29b9a0c50c clean && clean html base il y a 4 ans
test 29b9a0c50c clean && clean html base il y a 4 ans
.editorconfig 29b9a0c50c clean && clean html base il y a 4 ans
.npmignore 29b9a0c50c clean && clean html base il y a 4 ans
.travis.yml 29b9a0c50c clean && clean html base il y a 4 ans
LICENSE 29b9a0c50c clean && clean html base il y a 4 ans
README.md 29b9a0c50c clean && clean html base il y a 4 ans
package.json 29b9a0c50c clean && clean html base il y a 4 ans
yarn.lock 29b9a0c50c clean && clean html base il y a 4 ans

README.md

is-number-like

Build Status js-standard-style npm version Coverage Status

var looksLikeNumber = isNumberLike(val)

Checks whether provided parameter looks like a number

  • val (any) - the value to check
  • returns (boolean) looksLikeNumber - true if val looks like a number, false otherwise
const isNumberLike = require('is-number-like')
isNumberLike('2') // true
isNumberLike('a') // false