findRawType

fun TypeName.findRawType(): ClassName?

Returns the raw type for this TypeName or null if one can't be resolved.