CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.1.2-dev (changelog, source)
Search

Member predicate UnionOrIntersectionTypeExpr::getNumElementType

Gets the number of types in the union or intersection. This is always at least two.

int getNumElementType()