deno.land / x / lodash@4.17.19 / npm-package / _getMapData.js
12345678910111213141516171819var 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;
Version Info
External Dependencies