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

Member predicate TypeParamDecl::getTypeConstraint

Gets the type constraint of the type parameters in this declaration.

If the type constraint is a type set literal then it will be wrapped with an implicit interface type.

Type getTypeConstraint()