isFinite.js 241 B

12345678910
  1. define(['./_setup', './isSymbol'], function (_setup, isSymbol) {
  2. // Is a given object a finite number?
  3. function isFinite(obj) {
  4. return !isSymbol(obj) && _setup._isFinite(obj) && !isNaN(parseFloat(obj));
  5. }
  6. return isFinite;
  7. });