Member predicate TypeAccess::getNumTypeArgument
Gets the number of type arguments provided to this type by the enclosing generic type expression, if any, or 0 otherwise.
For example, in Array<number>, the Array part is a type access having 1 type argument.