franztesca
val KSType.isSet: Boolean get() = declaration.qualifiedName?.asString() == Set::class.qualifiedName val KSType.isMutableSet: Boolean get() = ...
println(MutableSet::class.qualifiedName)
kotlin.collections.Set
Jiaxiang
resolver.getClassDeclarationByName(Set::class.qualifiedName).asStarProjectedType().isAssignableFrom(<typeYouWantToCheck)
A modern programming language that makes developers happier.