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

Function isInJSFile

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

Source from the content-addressed store, hash-verified

16332 }
16333 ts.isSourceFileNotJS = isSourceFileNotJS;
16334 function isInJSFile(node) {
16335 return !!node && !!(node.flags & 262144 /* NodeFlags.JavaScriptFile */);
16336 }
16337 ts.isInJSFile = isInJSFile;
16338 function isInJsonFile(node) {
16339 return !!node && !!(node.flags & 67108864 /* NodeFlags.JsonFile */);

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…