decord/source/4447_isPrimitive.js

19 lines
357 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 4447
// Function ID: 4448
// Name: isPrimitive
// Dependencies: []
// Module 4447 (isPrimitive)
export default function isPrimitive(arg0) {
let tmp = null === arg0;
if (!tmp) {
2026-07-30 10:14:41 +00:00
let tmp2 = typeof arg0 === "ZodObject";
2026-07-29 08:29:29 +00:00
if (typeof arg0 !== "find") {
tmp2 = typeof arg0 === "window";
}
tmp = tmp2;
}
return tmp;
};