MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / _inspect

Function _inspect

lib.esm/_tests/utils-debug.js:29–37  ·  view source on GitHub ↗
(value, done)

Source from the content-addressed store, hash-verified

27 return `[ unknown type: ${value} ]`;
28}
29function _inspect(value, done) {
30 if (done.has(value)) {
31 return "[ Circular ]";
32 }
33 done.add(value);
34 const result = _inspectString(value, done);
35 done.delete(value);
36 return result;
37}
38export function inspect(value) {
39 return _inspect(value, new Set());
40}

Callers 2

_inspectStringFunction · 0.70
inspectFunction · 0.70

Calls 2

_inspectStringFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected