isFinite.js 241 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 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; });