MCPcopy Create free account
hub / github.com/candybox2/candybox2.github.io / getPartOfAscii

Function getPartOfAscii

code/main/Database.ts:41–43  ·  view source on GitHub ↗
(key: string, y1: number, y2: number)

Source from the content-addressed store, hash-verified

39 }
40
41 export function getPartOfAscii(key: string, y1: number, y2: number): string[]{
42 return getAscii(key).slice(y1, y2);
43 }
44
45 export function getText(key: string): string{
46 if(textMap["en." + key] == null)

Callers

nothing calls this directly

Calls 2

getAsciiFunction · 0.85
sliceMethod · 0.80

Tested by

no test coverage detected