Member predicate TypeAccess::getAsGenericType
Gets the enclosing generic type expression providing type arguments to this type, if any.
For example, in Array<number>
, the Array
part is a type access with Array<number>
being its enclosing generic type.