/
Dangerpro
/
Math_Modeling_Knyaginin
Обзор
Документация
Войти
/
Dangerpro
/
Math_Modeling_Knyaginin
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
node_modules/lodash/_getMapData.js
18 строк
400 B
Dangerpro
Создал бота
02 дек 2024, 14:16
02 дек 2024, 14:16
6f458d6
Код
Авторство
О чём код?
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;