Awesome Lists

is-number

by jonschlinkert

JavaScriptpushed about 4 years ago

JavaScript/Node.js utility. Returns true if the value is a number or string number. Useful for checking regex match results, user input, parsed strings, etc.

AI summary

Number checker

Utility function to check if a value is a number or string representation of a number

stars
262
forks
49
watching
9
awesome list
1
View on GitHubgithub.com/jonschlinkert

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/jonschlinkert/is-number/links.svg)](https://awesome.facts.dev/awesome/jonschlinkert/is-number)
HTML
<a href="https://awesome.facts.dev/awesome/jonschlinkert/is-number"><img src="https://awesome.facts.dev/shield/jonschlinkert/is-number/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/jonschlinkert/is-number/links.svg

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.