hasFunctionDeclarationOf

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

Deprecated

Will be removed in version 0.19.0

Replace with

sourceDeclaration?.hasFunctionDeclarationOf()

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.