1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const lodash_1 = require("../../wrap/lodash");
|
4 | function isNativePrototype(thing) {
|
5 | if (thing == null || !lodash_1.default.isFunction(thing.isPrototypeOf))
|
6 | return false;
|
7 | return lodash_1.default.some([Object, Function], (nativeType) => Object.prototype.isPrototypeOf.call(thing, nativeType));
|
8 | }
|
9 | exports.default = isNativePrototype;
|