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

Member predicate FuncTypeExpr::getNumParameter

Gets the number of parameters of this function type.

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

int getNumParameter()