Sha256: d17d0cb51e14b025dcad24b02da060f7f6cbf8c117220759b89d71f0ef0ad4e8
Contents?: true
Size: 559 Bytes
Versions: 277
Compression:
Stored size: 559 Bytes
Contents
/** 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;
Version data entries
277 entries across 275 versions & 31 rubygems