CodeQL library for Go
codeql/go-all 4.2.7 (changelog, source)
Search

Member predicate ControlFlow::Root::isRootOf

Holds if nd belongs to this file or function.

predicate isRootOf(AstNode nd)