decord/source/3657_isValid.js
2026-08-24 06:08:38 +00:00

45 lines
892 B
JavaScript

// Module ID: 3657
// Function ID: 3658
// Name: isValid
// Dependencies: [3658, 3475, 3476]
// Exports: default
// Module 3657 (isValid)
import _typeof from "_typeof" /* 3658 */;
import requiredArgs from "requiredArgs" /* 3476 */;
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;