decord/source/3516_isValid.js
2026-08-05 07:35:12 +00:00

45 lines
871 B
JavaScript

// Module ID: 3516
// Function ID: 3517
// Name: isValid
// Dependencies: [3517, 3334, 3335]
// Exports: default
// Module 3516 (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;