MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / listCacheGet

Function listCacheGet

libs/echarts/echarts.simple.js:38407–38413  ·  view source on GitHub ↗
(cache, key)

Source from the content-addressed store, hash-verified

38405}
38406
38407function listCacheGet(cache, key) {
38408 for (var i = 0; i < cache.length; i++) {
38409 if (cache[i].key === key) {
38410 return cache[i].value;
38411 }
38412 }
38413}
38414
38415function listCacheSet(cache, key, value) {
38416 cache.push({key: key, value: value});

Callers 2

makeCategoryTicksFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected