Urara-Blog/node_modules/.pnpm-store/v3/files/20/c67e41926bbd3902b49d445d94125d0c9c1ef0dfef30cd03c0dd23a07e3fd0e46fa68b6b01052f212c2a64a592e88c440bc91cac57792e1b8b29caaff7110e
2022-08-14 01:14:53 +08:00

18 lines
480 B
Text

/** Used for built-in method references. */
var objectProto = Object.prototype;
/**
* Checks if `value` is likely a prototype object.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
*/
function isPrototype(value) {
var Ctor = value && value.constructor,
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
return value === proto;
}
module.exports = isPrototype;