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

Member predicate ReturnStmt::getExpr

Gets the unique returned expression, if there is only one.

Expr getExpr()