jack e1a2621c78 update | 2 years ago | |
---|---|---|
.. | ||
index.js | 2 years ago | |
license | 2 years ago | |
package.json | 2 years ago | |
readme.md | 2 years ago |
ES2015
Number.isFinite()
ponyfill
$ npm install is-finite
var numIsFinite = require('is-finite');
numIsFinite(4);
//=> true
numIsFinite(Infinity);
//=> false