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

Member predicate DefinedType::getBaseType

Gets the type which this type is defined to be, if available.

Note that this is only defined for types declared in the project being analyzed. It will not be defined for types declared in external packages.

Type getBaseType()