MCPcopy
hub / github.com/baidu/amis / set

Method set

packages/amis-core/src/utils/SimpleMap.ts:15–20  ·  view source on GitHub ↗
(key: K, value: V)

Source from the content-addressed store, hash-verified

13 }
14
15 set(key: K, value: V) {
16 this.list.push({
17 key,
18 value
19 });
20 }
21
22 get(key: K) {
23 const resolved = find(this.list, item => item.key === key);

Callers 15

fis-conf.jsFile · 0.45
mkFunction · 0.45
doActionMethod · 0.45
reUseRowIdMethod · 0.45
getEntryIdMethod · 0.45
getFileKeyMethod · 0.45
patchListMethod · 0.45
resolveRendererMethod · 0.45
CustomStyle.tsxFile · 0.45
getBoundSuperFunction · 0.45

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected