Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

number-is-float

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

number-is-float

Check if something is a float

Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

number-is-float Build Status

Check if something is a float

Install

$ npm install --save number-is-float

Usage

var numberIsFloat = require('number-is-float');

numberIsFloat(1.5);
//=> true

numberIsFloat(1);
//=> false
  • number-is-integer - ES2015 Number.isInteger() ponyfill

License

MIT © Sindre Sorhus

Keywords

number

FAQs

Package last updated on 26 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts