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

Function isJsonSourceFile

test/fixtures/snapshot/typescript.js:15428–15430  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

15426 }
15427 ts.isExternalOrCommonJsModule = isExternalOrCommonJsModule;
15428 function isJsonSourceFile(file) {
15429 return file.scriptKind === 6 /* ScriptKind.JSON */;
15430 }
15431 ts.isJsonSourceFile = isJsonSourceFile;
15432 function isEnumConst(node) {
15433 return !!(ts.getCombinedModifierFlags(node) & 2048 /* ModifierFlags.Const */);

Callers 2

isSourceFileNotJsonFunction · 0.85
sourceFileMayBeEmittedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected