Though this works well ```val v = HashSet<Strin...
# getting-started
n
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
. 😏