varisKeyable=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. */functiongetMapData(map,key){vardata=map.__data__;returnisKeyable(key)?data[typeofkey=='string'?'string':'hash']:data.map;}module.exports=getMapData;