decord/source/__polyfill/04xxx/module_4852.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

24 lines
429 B
JavaScript

// Module ID: 4852
// Function ID: 4853
// Dependencies: [1314]
// Module 4852
import _mod1314 from "module_1314" /* 1314 */;
export default function isFinite(num) {
let tmp = typeof num === "number";
if (typeof num !== "number") {
tmp = typeof num === "bigint";
}
if (tmp) {
tmp = !_mod1314(num);
}
if (tmp) {
tmp = num !== Infinity;
}
if (tmp) {
tmp = num !== -Infinity;
}
return tmp;
};