diff options
Diffstat (limited to 'alarm/node_modules/lodash/_baseHas.js')
-rw-r--r-- | alarm/node_modules/lodash/_baseHas.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/alarm/node_modules/lodash/_baseHas.js b/alarm/node_modules/lodash/_baseHas.js deleted file mode 100644 index 1b73032..0000000 --- a/alarm/node_modules/lodash/_baseHas.js +++ /dev/null @@ -1,19 +0,0 @@ -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * The base implementation of `_.has` without support for deep paths. - * - * @private - * @param {Object} [object] The object to query. - * @param {Array|string} key The key to check. - * @returns {boolean} Returns `true` if `key` exists, else `false`. - */ -function baseHas(object, key) { - return object != null && hasOwnProperty.call(object, key); -} - -module.exports = baseHas; |