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

Function isVisible

lib/internal/debugger/inspect_repl.js:419–422  ·  view source on GitHub ↗
(script)

Source from the content-addressed store, hash-verified

417
418 function formatScripts(displayNatives = false) {
419 function isVisible(script) {
420 if (displayNatives) return true;
421 return !script.isNative || isCurrentScript(script);
422 }
423
424 return ArrayPrototypeJoin(ArrayPrototypeMap(
425 ArrayPrototypeFilter(ObjectValues(knownScripts), isVisible),

Callers

nothing calls this directly

Calls 1

isCurrentScriptFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…