MCPcopy
hub / github.com/monkeytypegame/monkeytype / push

Method push

frontend/src/ts/test/test-words.ts:33–37  ·  view source on GitHub ↗
(word: string, sectionIndex: number)

Source from the content-addressed store, hash-verified

31 return this.list[this.list.length - 1] as string;
32 }
33 push(word: string, sectionIndex: number): void {
34 this.list.push(word);
35 this.sectionIndexList.push(sectionIndex);
36 this.length = this.list.length;
37 }
38
39 reset(): void {
40 this.list = [];

Callers 15

copySolidPluginFunction · 0.80
mainFunction · 0.80
convertStringToLogFunction · 0.80
mainFunction · 0.80
ExportNamedDeclarationFunction · 0.80
getListFunction · 0.80
buildStartFunction · 0.80
findAllFilesFunction · 0.80
contFunction · 0.80
addBadgeFunction · 0.80
verifyRequirementFunction · 0.80
verifyFunction · 0.80

Calls

no outgoing calls

Tested by 1

fillYearWithDayFunction · 0.64