MCPcopy
hub / github.com/iptv-org/iptv / getArray

Method getArray

scripts/core/dataSet.ts:27–35  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

25 }
26
27 getArray(key: string): string[] | undefined {
28 const deleteSymbol = '~'
29
30 if (this._data.missing(key)) return undefined
31
32 const value = this._data.get(key)
33
34 return !value || value === deleteSymbol ? [] : value.split('\r\n')
35 }
36}

Callers 1

mainFunction · 0.80

Calls 1

missingMethod · 0.80

Tested by

no test coverage detected