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

Member predicate FuncDef::getBody

Gets the body of the defined function, if any.

BlockStmt getBody()