This commit is contained in:
sanfan.hx
2019-05-28 10:32:16 +08:00
parent 9132c00272
commit ec46955a9e
13228 changed files with 624107 additions and 56 deletions

18
web-server/node_modules/lodash/_getMapData.js generated vendored Normal file
View File

@ -0,0 +1,18 @@
var isKeyable = require('./_isKeyable');
/**
* Gets the data for `map`.
*
* @private
* @param {Object} map The map to query.
* @param {string} key The reference key.
* @returns {*} Returns the map data.
*/
function getMapData(map, key) {
var data = map.__data__;
return isKeyable(key)
? data[typeof key == 'string' ? 'string' : 'hash']
: data.map;
}
module.exports = getMapData;