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

8 lines
230 B
JavaScript

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));
}