readme.md 582 B

is-finite Build Status

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