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

Function isPrologueDirective

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

Source from the content-addressed store, hash-verified

15464 }
15465 ts.isLiteralImportTypeNode = isLiteralImportTypeNode;
15466 function isPrologueDirective(node) {
15467 return node.kind === 238 /* SyntaxKind.ExpressionStatement */
15468 && node.expression.kind === 10 /* SyntaxKind.StringLiteral */;
15469 }
15470 ts.isPrologueDirective = isPrologueDirective;
15471 function isCustomPrologue(node) {
15472 return !!(getEmitFlags(node) & 1048576 /* EmitFlags.CustomPrologue */);

Callers 3

isAnyPrologueDirectiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected