Home

Awesome

Deprecated as this is now natively available in all modern browsers and Node.js versions.


is-finite

ES2015 Number.isFinite() ponyfill

Install

$ npm install is-finite

Usage

var numIsFinite = require('is-finite');

numIsFinite(4);
//=> true

numIsFinite(Infinity);
//=> false