Join Slack
Powered by
In Kotlin, is there an equivalent of C#'s typeof? ...
# getting-started
r
robsonj
04/26/2017, 3:04 AM
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
2
Views
Open in Slack
Previous
Next