JSPM

@f/is-number

1.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 137
  • Score
    100M100P100Q81012F
  • License MIT

Check if a value is a number

Package Exports

  • @f/is-number

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@f/is-number) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

is-number

Build status Git tag NPM version Code style

Check if a value is a number

Installation

$ npm install @f/is-number

Usage

var isNumber = require('@f/is-number')

isNumber(1)
isNumber(NaN)
!isNumber('test')
!isNumber('10')

API

isNumber(value)

  • value - The value to be checked for numberness

Returns: Boolean value indicating whether or not value is a number.

License

MIT