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

Function inContext

test/fixtures/snapshot/typescript.js:31937–31939  ·  view source on GitHub ↗
(flags)

Source from the content-addressed store, hash-verified

31935 return doOutsideOfContext(8192 /* NodeFlags.YieldContext */ | 32768 /* NodeFlags.AwaitContext */, func);
31936 }
31937 function inContext(flags) {
31938 return (contextFlags & flags) !== 0;
31939 }
31940 function inYieldContext() {
31941 return inContext(8192 /* NodeFlags.YieldContext */);
31942 }

Callers 7

inYieldContextFunction · 0.85
inDisallowInContextFunction · 0.85
inDecoratorContextFunction · 0.85
inAwaitContextFunction · 0.85
inTopLevelContextFunction · 0.85
inHasLexicalThisContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…