Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
24 lines
429 B
JavaScript
24 lines
429 B
JavaScript
// Module ID: 4916
|
|
// Function ID: 4917
|
|
// Dependencies: [1313]
|
|
|
|
// Module 4916
|
|
import _mod1313 from "module_1313" /* 1313 */;
|
|
|
|
|
|
export default function isFinite(num) {
|
|
let tmp = typeof num === "number";
|
|
if (typeof num !== "number") {
|
|
tmp = typeof num === "bigint";
|
|
}
|
|
if (tmp) {
|
|
tmp = !_mod1313(num);
|
|
}
|
|
if (tmp) {
|
|
tmp = num !== Infinity;
|
|
}
|
|
if (tmp) {
|
|
tmp = num !== -Infinity;
|
|
}
|
|
return tmp;
|
|
};
|