/** Used for built-in method references. */varobjectProto=Object.prototype;/** Used to check objects for own properties. */varhasOwnProperty=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`. */functionbaseHas(object,key){returnobject!=null&&hasOwnProperty.call(object,key);}module.exports=baseHas;