1 var isKeyable = require('./_isKeyable');
4 * Gets the data for `map`.
7 * @param {Object} map The map to query.
8 * @param {string} key The reference key.
9 * @returns {*} Returns the map data.
11 function getMapData(map, key) {
12 var data = map.__data__;
14 ? data[typeof key == 'string' ? 'string' : 'hash']
18 module.exports = getMapData;