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

Predicate getTermInIntersection

Gets a term in the intersection of type-set literals a and b.

Import path

import semmle.go.Types
TypeSetTerm getTermInIntersection(TypeSetLiteralType a, TypeSetLiteralType b)