mirror of
https://github.com/thangisme/notes.git
synced 2024-11-09 07:27:35 -05: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