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