aswi2020vldc-gitlab/templetes/node_modules/lodash/_mapCacheGet.js @ 9bb1e829
1 |
var 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 |
*/
|
12 |
function mapCacheGet(key) { |
13 |
return getMapData(this, key).get(key); |
14 |
}
|
15 |
|
16 |
module.exports = mapCacheGet; |