582 B
582 B
is-finite
ES6
Number.isFinite()
ponyfill
Ponyfill: A polyfill that doesn't overwrite the native method
Install
$ npm install --save is-finite
Usage
var numIsFinite = require('is-finite');
numIsFinite(4);
//=> true
numIsFinite(Infinity);
//=> false
License
MIT © Sindre Sorhus