In Kotlin, is there an equivalent of C#'s typeof? ...
# getting-started
r
In Kotlin, is there an equivalent of C#'s typeof? I'm trying to print the type of one of my generic args in my toString override... without much luck. In C# I could do something like - $"{typeof(TObject).Name}". Thanks for any help.
stackoverflow 2