decord/source/__polyfill/04xxx/module_4914.js
github-actions a36fe4ec9c chore: update source for alpha 347.0
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-14 20:04:03 +00:00

24 lines
429 B
JavaScript

// Module ID: 4914
// Function ID: 4915
// Dependencies: [1312]
// Module 4914
import _mod1312 from "module_1312" /* 1312 */;
export default function isFinite(num) {
let tmp = typeof num === "number";
if (typeof num !== "number") {
tmp = typeof num === "bigint";
}
if (tmp) {
tmp = !_mod1312(num);
}
if (tmp) {
tmp = num !== Infinity;
}
if (tmp) {
tmp = num !== -Infinity;
}
return tmp;
};