Join Slack
Powered by
Though this works well ```val v = HashSet<Strin...
# getting-started
n
nil2l
05/07/2018, 8:48 AM
Though this works well
Copy code
val v = HashSet<String>() listOf(String::class, Set::class).any { it.isInstance(v) }
I don’t know if it is better of long
if
. 😏
Open in Slack
Previous
Next