decord/source/__polyfill/04xxx/module_4903.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

32 lines
792 B
JavaScript

// Module ID: 4903
// Function ID: 4904
// Dependencies: [1316, 1444]
// Module 4903
import callBoundIntrinsic from "callBoundIntrinsic" /* 1316 */;
import _mod1444 from "module_1444" /* 1444 */;
let closure_0 = callBoundIntrinsic("Date.prototype.getDay");
let closure_1 = callBoundIntrinsic("Object.prototype.toString");
let closure_2 = _mod1444();
export default function isDateObject(obj) {
let tmp = typeof obj === "object";
if (typeof obj === "object") {
tmp = null !== obj;
}
if (!tmp) {
return tmp;
} else if (closure_2) {
let tmp4 = (function tryDateGetDayCall(arg0) {
try {
closure_1_0(arg0);
return true;
} catch (err) {
return false;
}
})(obj);
} else {
tmp4 = "[object Date]" === closure_1(obj);
}
};