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

Member predicate FuncTypeExpr::getResultDecl

Gets the result of this function type, if there is only one.

ResultVariableDecl getResultDecl()