klyn.Type.genericDefinition
property
public readonly property genericDefinition as Type:
Description

Returns the open generic type represented by this concrete instantiation.

Returns

Generic definition, or null when this type is not a concrete generic instantiation.

Example
import klyn.collections
assert ArrayList<Int>.type.genericDefinition == ArrayList.type