Type definitions are available in the @types/is-number package


  • Version 7.0.0
  • Published
  • 9.62 kB
  • No dependencies
  • MIT license


npm i is-number
yarn add is-number
pnpm add is-number


Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.

Dependencies (0)

No dependencies.

Dev Dependencies (4)

Peer Dependencies (0)

No peer dependencies.


To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/is-number.

  • Markdown
  • HTML
    <a href="https://www.jsdocs.io/package/is-number"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>