isOfType
Checks whether an KSAnnotation is of type A.
Checks whether an KSTypeReference is of type T.
Checks whether an KSAnnotation is of type by it's qualifiedName.
fun KSTypeReference.isOfType(qualifiedName: String, canBeTypeAlias: Boolean = true): Boolean(source)
Checks whether an KSTypeReference is of type by it's qualifiedName.
Parameters
canBeTypeAlias
whether the type could resolve to a type alias (only set this to false if you know what it does)