mirror of
https://github.com/thangisme/notes.git
synced 2024-10-31 22:37:27 -04:00
544 B
544 B
is-finite
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