documentit/node_modules/is-finite/readme.md
2018-01-05 10:48:13 -08:00

544 B

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