hexo/node_modules/core-js/library/modules/es6.number.is-finite.js

10 lines
246 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
// 20.1.2.2 Number.isFinite(number)
var $export = require('./_export');
var _isFinite = require('./_global').isFinite;
$export($export.S, 'Number', {
isFinite: function isFinite(it) {
return typeof it == 'number' && _isFinite(it);
}
});