Last change
on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
330 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | var getMapData = require('./_getMapData');
|
---|
| 2 |
|
---|
| 3 | /**
|
---|
| 4 | * Gets the map value for `key`.
|
---|
| 5 | *
|
---|
| 6 | * @private
|
---|
| 7 | * @name get
|
---|
| 8 | * @memberOf MapCache
|
---|
| 9 | * @param {string} key The key of the value to get.
|
---|
| 10 | * @returns {*} Returns the entry value.
|
---|
| 11 | */
|
---|
| 12 | function mapCacheGet(key) {
|
---|
| 13 | return getMapData(this, key).get(key);
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | module.exports = mapCacheGet;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.