Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/typescript-go
/ isEffectiveModuleDeclaration
Function
isEffectiveModuleDeclaration
internal/binder/binder.go:2793–2795 ·
view source on GitHub ↗
(node *ast.Node)
Source
from the content-addressed store, hash-verified
2791
}
2792
2793
func
isEffectiveModuleDeclaration(node *ast.Node) bool {
2794
return
ast.IsModuleDeclaration(node) || ast.IsIdentifier(node)
2795
}
Callers
1
SetValueDeclaration
Function · 0.85
Calls
2
IsModuleDeclaration
Function · 0.92
IsIdentifier
Function · 0.92
Tested by
no test coverage detected