aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash/_mapCacheGet.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/lodash/_mapCacheGet.js')
-rw-r--r--node_modules/lodash/_mapCacheGet.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/node_modules/lodash/_mapCacheGet.js b/node_modules/lodash/_mapCacheGet.js
new file mode 100644
index 0000000..f29f55c
--- /dev/null
+++ b/node_modules/lodash/_mapCacheGet.js
@@ -0,0 +1,16 @@
+var getMapData = require('./_getMapData');
+
+/**
+ * Gets the map value for `key`.
+ *
+ * @private
+ * @name get
+ * @memberOf MapCache
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
+ */
+function mapCacheGet(key) {
+ return getMapData(this, key).get(key);
+}
+
+module.exports = mapCacheGet;