is-finite
ES2015
Number.isFinite()
ponyfill
Install
$ npm install is-finite
Usage
var numIsFinite = require('is-finite');
numIsFinite(4);
//=> true
numIsFinite(Infinity);
//=> false
Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.