public static typeGenericArgumentName(typeName as String, index as Int) as String:
Returns one concrete generic argument name.
| Parameter | Description |
|---|---|
typeName | Reflected concrete type name. |
index | Zero-based generic argument index. |
Concrete argument name, or an empty string when the index is invalid.
import klyn.collections import klyn.reflection print(TypeLoader.typeGenericArgumentName(ArrayList<Int>.type.fullName, 0))