MCPcopy Index your code
hub / github.com/nodejs/node / formatExtraProperties

Function formatExtraProperties

lib/internal/util/inspect.js:2538–2546  ·  view source on GitHub ↗
(ctx, value, recurseTimes, key, typedArray)

Source from the content-addressed store, hash-verified

2536}
2537
2538function formatExtraProperties(ctx, value, recurseTimes, key, typedArray) {
2539 ctx.indentationLvl += 2;
2540 const str = formatValue(ctx, value[key], recurseTimes, typedArray);
2541 ctx.indentationLvl -= 2;
2542
2543 // These entries are mainly getters. Should they be formatted like getters?
2544 const name = ctx.stylize(`[${key}]`, 'string');
2545 return `${name}: ${str}`;
2546}
2547
2548function formatProperty(ctx, value, recurseTimes, key, type, desc,
2549 original = value) {

Callers 1

formatRawFunction · 0.85

Calls 1

formatValueFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…