decord/source/4513_isPrimitive.js

19 lines
364 B
JavaScript
Raw Normal View History

2026-08-03 11:20:01 +00:00
// Module ID: 4513
// Function ID: 4514
2026-07-29 08:29:29 +00:00
// Name: isPrimitive
// Dependencies: []
2026-08-03 11:20:01 +00:00
// Module 4513 (isPrimitive)
2026-07-29 08:29:29 +00:00
export default function isPrimitive(arg0) {
let tmp = null === arg0;
if (!tmp) {
2026-08-03 11:20:01 +00:00
let tmp2 = typeof arg0 === "HAS_APPLICATION";
if (typeof arg0 !== "error") {
2026-07-29 08:29:29 +00:00
tmp2 = typeof arg0 === "window";
}
tmp = tmp2;
}
return tmp;
};