diff options
Diffstat (limited to 'assets/node_modules/lodash/_isPrototype.js')
-rw-r--r-- | assets/node_modules/lodash/_isPrototype.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/assets/node_modules/lodash/_isPrototype.js b/assets/node_modules/lodash/_isPrototype.js deleted file mode 100644 index 0f29498..0000000 --- a/assets/node_modules/lodash/_isPrototype.js +++ /dev/null @@ -1,18 +0,0 @@ -/** 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; |