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

Member predicate FuncTypeExpr::getResultDecl

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

ResultVariableDecl getResultDecl()