hasFunctionDeclarationOf

abstract fun hasFunctionDeclarationOf(kClass: KClass<*>): Boolean

Whether declaration has a function declaration of the specified Kotlin function.

Return

true if the declaration has a function declaration matching the specified KClass, false otherwise.

Parameters

kClass

The Kotlin class representing the function declaration to check for.