decord/source/3545_isValid.js
2026-08-06 08:05:19 +00:00

45 lines
871 B
JavaScript

// Module ID: 3545
// Function ID: 3546
// Name: isValid
// Dependencies: [3546, 3363, 3364]
// Exports: default
// Module 3545 (isValid)
import _typeof from "_typeof";
import _typeof from "_typeof";
import requiredArgs from "requiredArgs";
if (!_typeof) {
let obj = { default: null };
obj[0] = _typeof;
let tmp3 = obj;
} else {
tmp3 = _typeof;
}
let c0 = tmp3;
if (!_typeof) {
obj = { default: null };
obj[0] = _typeof;
let tmp5 = obj;
} else {
tmp5 = _typeof;
}
let closure_1 = tmp5;
if (!requiredArgs) {
obj = { default: null };
obj[0] = requiredArgs;
let tmp7 = obj;
} else {
tmp7 = requiredArgs;
}
export default function isValid(num) {
tmp7.default(1, arguments);
if (!tmp3.default(num)) {
if (typeof num !== "number") {
return false;
}
}
return !isNaN(Number(tmp5.default(num)));
};
export default exports.default;