setup-maven-cached/node_modules/underscore/amd/isFinite.js
2022-06-28 10:39:30 +02:00

11 lines
241 B
JavaScript

define(['./_setup', './isSymbol'], function (_setup, isSymbol) {
// Is a given object a finite number?
function isFinite(obj) {
return !isSymbol(obj) && _setup._isFinite(obj) && !isNaN(parseFloat(obj));
}
return isFinite;
});