MCPcopy Create free account
hub / github.com/microsoft/typescript-go / hasChildOfKind

Function hasChildOfKind

internal/ls/lsutil/completednode.go:194–196  ·  view source on GitHub ↗
(containingNode *ast.Node, kind ast.Kind, sourceFile *ast.SourceFile)

Source from the content-addressed store, hash-verified

192}
193
194func hasChildOfKind(containingNode *ast.Node, kind ast.Kind, sourceFile *ast.SourceFile) bool {
195 return astnav.FindChildOfKind(containingNode, kind, sourceFile) != nil
196}

Callers 1

IsCompletedNodeFunction · 0.85

Calls 1

FindChildOfKindFunction · 0.92

Tested by

no test coverage detected