CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.13 (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()