decord/source/__polyfill/04xxx/module_4905.js
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

32 lines
792 B
JavaScript

// Module ID: 4905
// Function ID: 4906
// Dependencies: [1315, 1445]
// Module 4905
import callBoundIntrinsic from "callBoundIntrinsic" /* 1315 */;
import _mod1445 from "module_1445" /* 1445 */;
let closure_0 = callBoundIntrinsic("Date.prototype.getDay");
let closure_1 = callBoundIntrinsic("Object.prototype.toString");
let closure_2 = _mod1445();
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);
}
};