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