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

Member predicate FuncTypeExpr::getAParameterDecl

Gets a parameter declaration of this function type.

For example, for func(a int, b, c float32) (float32, bool) the result is a int or b, c float32.

ParameterDecl getAParameterDecl()