MCPcopy Create free account
hub / github.com/nodejs/node / isCustomPrologue

Function isCustomPrologue

test/fixtures/snapshot/typescript.js:15471–15473  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

15469 }
15470 ts.isPrologueDirective = isPrologueDirective;
15471 function isCustomPrologue(node) {
15472 return !!(getEmitFlags(node) & 1048576 /* EmitFlags.CustomPrologue */);
15473 }
15474 ts.isCustomPrologue = isCustomPrologue;
15475 function isHoistedFunction(node) {
15476 return isCustomPrologue(node)

Callers 2

isHoistedFunctionFunction · 0.85

Calls 1

getEmitFlagsFunction · 0.85

Tested by

no test coverage detected