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

Function inTopLevelContext

test/fixtures/snapshot/typescript.js:95945–95947  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95943 return (contextFlags & flags) !== 0;
95944 }
95945 function inTopLevelContext() {
95946 return !inContext(1 /* ContextFlags.NonTopLevel */);
95947 }
95948 function inHasLexicalThisContext() {
95949 return inContext(2 /* ContextFlags.HasLexicalThis */);
95950 }

Callers 1

visitAwaitExpressionFunction · 0.85

Calls 1

inContextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…