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

Member predicate FuncTypeExpr::getResultDecl

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

ResultVariableDecl getResultDecl()