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

Member predicate FuncTypeExpr::getNumParameterDecl

Gets the number of parameter declarations of this function type.

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

int getNumParameterDecl()