isFinite.js 249 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 var _setup = require('./_setup.js'); var isSymbol = require('./isSymbol.js'); // Is a given object a finite number? function isFinite(obj) { return !isSymbol(obj) && _setup._isFinite(obj) && !isNaN(parseFloat(obj)); } module.exports = isFinite;