2026-09-16 07:03:15 +00:00
|
|
|
// Module ID: 4916
|
|
|
|
|
// Function ID: 4917
|
2026-09-15 14:23:42 +00:00
|
|
|
// Dependencies: [1313]
|
|
|
|
|
|
2026-09-16 07:03:15 +00:00
|
|
|
// Module 4916
|
2026-09-15 14:23:42 +00:00
|
|
|
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;
|
|
|
|
|
};
|