MCPcopy Create free account
hub / github.com/Marus/cortex-debug / prettyStringArray

Function prettyStringArray

src/gdb.ts:3289–3299  ·  view source on GitHub ↗
(strings)

Source from the content-addressed store, hash-verified

3287}
3288
3289function prettyStringArray(strings) {
3290 if (typeof strings === 'object') {
3291 if (strings.length !== undefined) {
3292 return strings.join(', ');
3293 }
3294 else {
3295 return JSON.stringify(strings);
3296 }
3297 }
3298 else { return strings; }
3299}
3300
3301function initTwoCharsToIntMap(): object {
3302 const obj = {};

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected