hasAnnotation
@ExperimentalStdlibApi fun <reified T : Annotation> KAnnotatedElement.hasAnnotation(): Boolean
Returns true if this element is annotated with an annotation of type T.
@ExperimentalStdlibApi fun <reified T : Annotation> KAnnotatedElement.hasAnnotation(): Boolean
Returns true if this element is annotated with an annotation of type T.