CodeQL library for Go
codeql/go-all 2.1.3 (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()