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

Function getCtxStyle

lib/internal/util/inspect.js:1079–1088  ·  view source on GitHub ↗
(value, constructor, tag)

Source from the content-addressed store, hash-verified

1077}
1078
1079function getCtxStyle(value, constructor, tag) {
1080 let fallback = '';
1081 if (constructor === null) {
1082 fallback = internalGetConstructorName(value);
1083 if (fallback === tag) {
1084 fallback = 'Object';
1085 }
1086 }
1087 return getPrefix(constructor, tag, fallback);
1088}
1089
1090function formatProxy(ctx, proxy, recurseTimes) {
1091 if (recurseTimes > ctx.depth && ctx.depth !== null) {

Callers 1

formatRawFunction · 0.85

Calls 1

getPrefixFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…