summaryrefslogtreecommitdiff
path: root/bin/wiki/ImportarDesdeURL/node_modules/lodash/_listCacheGet.js
diff options
context:
space:
mode:
Diffstat (limited to 'bin/wiki/ImportarDesdeURL/node_modules/lodash/_listCacheGet.js')
-rw-r--r--bin/wiki/ImportarDesdeURL/node_modules/lodash/_listCacheGet.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/bin/wiki/ImportarDesdeURL/node_modules/lodash/_listCacheGet.js b/bin/wiki/ImportarDesdeURL/node_modules/lodash/_listCacheGet.js
new file mode 100644
index 00000000..f8192fc3
--- /dev/null
+++ b/bin/wiki/ImportarDesdeURL/node_modules/lodash/_listCacheGet.js
@@ -0,0 +1,19 @@
+var assocIndexOf = require('./_assocIndexOf');
+
+/**
+ * Gets the list cache value for `key`.
+ *
+ * @private
+ * @name get
+ * @memberOf ListCache
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
+ */
+function listCacheGet(key) {
+ var data = this.__data__,
+ index = assocIndexOf(data, key);
+
+ return index < 0 ? undefined : data[index][1];
+}
+
+module.exports = listCacheGet;