2026-09-10 19:12:31 +00:00
|
|
|
// Module ID: 4903
|
|
|
|
|
// Function ID: 4904
|
2026-09-16 07:03:15 +00:00
|
|
|
// Dependencies: []
|
2026-09-10 19:12:31 +00:00
|
|
|
|
|
|
|
|
// Module 4903
|
|
|
|
|
|
2026-09-16 07:03:15 +00:00
|
|
|
export default function isPrimitive(fn) {
|
|
|
|
|
let tmp = null === fn;
|
|
|
|
|
if (!tmp) {
|
|
|
|
|
let tmp2 = typeof fn !== "function";
|
|
|
|
|
if (typeof fn !== "function") {
|
|
|
|
|
tmp2 = typeof fn !== "object";
|
2026-09-15 14:23:42 +00:00
|
|
|
}
|
2026-09-16 07:03:15 +00:00
|
|
|
tmp = tmp2;
|
2026-09-11 10:30:06 +00:00
|
|
|
}
|
2026-09-16 07:03:15 +00:00
|
|
|
return tmp;
|
2026-09-12 13:45:10 +00:00
|
|
|
};
|