blob: f29f55cfdd533f952931e684df1957b417afecb3 [file] [log] [blame]
Leo Repp58b9f112021-11-22 11:57:47 +01001var getMapData = require('./_getMapData');
2
3/**
4 * Gets the map value for `key`.
5 *
6 * @private
7 * @name get
8 * @memberOf MapCache
9 * @param {string} key The key of the value to get.
10 * @returns {*} Returns the entry value.
11 */
12function mapCacheGet(key) {
13 return getMapData(this, key).get(key);
14}
15
16module.exports = mapCacheGet;