hasObjectDeclaration

abstract override fun hasObjectDeclaration(predicate: (KoObjectDeclaration) -> Boolean?): Boolean

Deprecated

Will be removed in version 0.19.0

Replace with

sourceDeclaration?.hasObjectDeclaration()

Whether declaration has a specified object declaration.

Return

true if the declaration has the specified object declaration (or any object declaration if predicate is null), false otherwise.

Parameters

predicate

The predicate function used to determine if a object declaration satisfies a condition.