TTOf

fun <T : Any> TTOf(obj: T): TypeToken<out T>

Returns a type token representing the actual type of the given argument.

Parameters

T

The type, or a parent type of, that the returned TypeToken will represent.

obj

An object whose actual type will be extract.