github-pages-deploy-action/node_modules/core-js-pure/internals/number-is-finite.js
2020-03-06 22:45:40 -05:00

10 lines
285 B
JavaScript

var global = require('../internals/global');
var globalIsFinite = global.isFinite;
// `Number.isFinite` method
// https://tc39.github.io/ecma262/#sec-number.isfinite
module.exports = Number.isFinite || function isFinite(it) {
return typeof it == 'number' && globalIsFinite(it);
};