is-finite Build Status

ES2015 Number.isFinite() ponyfill

Install

$ npm install --save is-finite

Usage

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

numIsFinite(4);
//=> true

numIsFinite(Infinity);
//=> false

License

MIT © Sindre Sorhus