setup-maven-cached/node_modules/underscore/cjs/isFinite.js

10 lines
249 B
JavaScript
Raw Normal View History

2022-06-28 16:39:30 +08:00
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;