decord/source/__polyfill/00xxx/module_519.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

19 lines
319 B
JavaScript

// Module ID: 519
// Function ID: 520
// Dependencies: []
// Module 519
export default function isLength(num) {
let tmp = typeof num === "number";
if (typeof num === "number") {
tmp = num > -1;
}
if (tmp) {
tmp = num % 1 === 0;
}
if (tmp) {
tmp = num <= 9007199254740991;
}
return tmp;
};