aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash/_mapCacheGet.js
blob: f29f55cfdd533f952931e684df1957b417afecb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var getMapData = require('./_getMapData');

/**
 * Gets the map value for `key`.
 *
 * @private
 * @name get
 * @memberOf MapCache
 * @param {string} key The key of the value to get.
 * @returns {*} Returns the entry value.
 */
function mapCacheGet(key) {
  return getMapData(this, key).get(key);
}

module.exports = mapCacheGet;