decord/source/__polyfill/05xxx/module_5000.js
github-actions 8d58bae3b2 chore: update source for alpha 347.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4907.js (118.4 MB)
2026-09-18 06:58:00 +00:00

24 lines
429 B
JavaScript

// Module ID: 5000
// Function ID: 5001
// Dependencies: [1313]
// Module 5000
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;
};