MCPcopy Index your code
hub / github.com/microsoft/typescript-go / IsInJSFile

Function IsInJSFile

internal/ast/utilities.go:1275–1277  ·  view source on GitHub ↗
(node *Node)

Source from the content-addressed store, hash-verified

1273}
1274
1275func IsInJSFile(node *Node) bool {
1276 return node != nil && node.Flags&NodeFlagsJavaScriptFile != 0
1277}
1278
1279func IsDeclaration(node *Node) bool {
1280 if node.Kind == KindTypeParameter {

Calls

no outgoing calls

Tested by

no test coverage detected