d11 theme
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
rdrew f035d16951 lots of layout changes + sidbars 2 weeks ago
..
lib lots of layout changes + sidbars 2 weeks ago
test lots of layout changes + sidbars 2 weeks ago
.editorconfig lots of layout changes + sidbars 2 weeks ago
.npmignore lots of layout changes + sidbars 2 weeks ago
.travis.yml lots of layout changes + sidbars 2 weeks ago
LICENSE lots of layout changes + sidbars 2 weeks ago
README.md lots of layout changes + sidbars 2 weeks ago
package.json lots of layout changes + sidbars 2 weeks ago
yarn.lock lots of layout changes + sidbars 2 weeks ago

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