decord/source/3658_isValid.js
2026-08-25 06:04:03 +00:00

45 lines
892 B
JavaScript

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