Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
21 lines
454 B
JavaScript
21 lines
454 B
JavaScript
// Module ID: 545
|
|
// Function ID: 546
|
|
// Dependencies: []
|
|
|
|
// Module 545
|
|
let closure_0 = Object.prototype;
|
|
|
|
export default function isPrototype(arg0) {
|
|
let constructor = arg0;
|
|
if (arg0) {
|
|
constructor = arg0.constructor;
|
|
}
|
|
let prototype = typeof constructor === "function";
|
|
if (typeof constructor === "function") {
|
|
prototype = constructor.prototype;
|
|
}
|
|
if (!prototype) {
|
|
prototype = closure_0;
|
|
}
|
|
return arg0 === prototype;
|
|
};
|