✏️ 编辑:_getMapData.js
路径:
/home/boguraj1/public_html/jobsite/node_modules/lodash/_getMapData.js
大小:400 B · 修改:2022-11-21 20:09:42 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
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;
💾 保存
取消
保存为 UTF-8,换行统一为 LF