isFinite.js 230 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 import { _isFinite } from './_setup.js'; import isSymbol from './isSymbol.js'; // Is a given object a finite number? export default function isFinite(obj) { return !isSymbol(obj) && _isFinite(obj) && !isNaN(parseFloat(obj)); }