MCPcopy Index your code
hub / github.com/refined-github/refined-github / append

Method append

source/helpers/map-of-arrays.ts:2–8  ·  view source on GitHub ↗
(key: Key, ...values: Value[])

Source from the content-addressed store, hash-verified

1export default class ArrayMap<Key, Value> extends Map<Key, Value[]> {
2 append(key: Key, ...values: Value[]): void {
3 if (!this.has(key)) {
4 this.set(key, []);
5 }
6
7 this.get(key)!.push(...values);
8 }
9}

Callers 15

appendErrorFunction · 0.45
addFunction · 0.45
showOverlayFunction · 0.45
attachToDocumentFunction · 0.45
tooltippedFunction · 0.45
addTooltipFunction · 0.45
setStatusFilterFunction · 0.45
createMessageBoxFunction · 0.45
appendBeforeFunction · 0.45

Calls 2

setMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected