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

Function isHoistedFunction

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

Source from the content-addressed store, hash-verified

15473 }
15474 ts.isCustomPrologue = isCustomPrologue;
15475 function isHoistedFunction(node) {
15476 return isCustomPrologue(node)
15477 && ts.isFunctionDeclaration(node);
15478 }
15479 ts.isHoistedFunction = isHoistedFunction;
15480 function isHoistedVariable(node) {
15481 return ts.isIdentifier(node.name)

Callers

nothing calls this directly

Calls 1

isCustomPrologueFunction · 0.85

Tested by

no test coverage detected