Sha256: afd8b7a5c5e9251a433d15aaf5456b4515e174e8593bf09588f21b76d9661240

Contents?: true

Size: 547 Bytes

Versions: 167

Compression:

Stored size: 547 Bytes

Contents

/** Used for native method references. */
var objectProto = Object.prototype;

/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;

/**
 * Checks if a cached value for `key` exists.
 *
 * @private
 * @name has
 * @memberOf _.memoize.Cache
 * @param {string} key The key of the entry to check.
 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
 */
function mapHas(key) {
  return key != '__proto__' && hasOwnProperty.call(this.__data__, key);
}

module.exports = mapHas;

Version data entries

167 entries across 87 versions & 9 rubygems

Version Path
ilog-0.4.1 node_modules/babel-plugin-proto-to-assign/node_modules/lodash/internal/mapHas.js
ilog-0.4.1 node_modules/contents/node_modules/lodash/internal/mapHas.js
ilog-0.4.1 node_modules/babel/node_modules/lodash/internal/mapHas.js
ilog-0.4.0 node_modules/babel-plugin-proto-to-assign/node_modules/lodash/internal/mapHas.js
ilog-0.4.0 node_modules/contents/node_modules/lodash/internal/mapHas.js
ilog-0.4.0 node_modules/babel/node_modules/lodash/internal/mapHas.js
ilog-0.3.3 node_modules/babel/node_modules/lodash/internal/mapHas.js
ilog-0.3.3 node_modules/babel-plugin-proto-to-assign/node_modules/lodash/internal/mapHas.js
ilog-0.3.3 node_modules/contents/node_modules/lodash/internal/mapHas.js
trusty-festivity-extension-2.6.3 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/mapHas.js
trusty-festivity-extension-2.6.3 node_modules/bower/node_modules/inquirer/node_modules/lodash/internal/mapHas.js
trusty-festivity-extension-2.6.2 node_modules/bower/node_modules/inquirer/node_modules/lodash/internal/mapHas.js
trusty-festivity-extension-2.6.2 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/mapHas.js
trusty-festivity-extension-2.6.1 node_modules/bower/node_modules/inquirer/node_modules/lodash/internal/mapHas.js
trusty-festivity-extension-2.6.1 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/mapHas.js
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/lodash/internal/mapHas.js
trusty-festivity-extension-2.6 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/mapHas.js
trusty-festivity-extension-2.6 node_modules/bower/node_modules/inquirer/node_modules/lodash/internal/mapHas.js
trusty-festivity-extension-2.5.19 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/mapHas.js
trusty-festivity-extension-2.5.19 node_modules/bower/node_modules/inquirer/node_modules/lodash/internal/mapHas.js