hasInterfaceOrObjectDeclaration

Deprecated

Will be removed in version 0.19.0

Replace with

sourceDeclaration?.hasInterfaceOrObjectDeclaration()

Whether declaration has a specified interface or object declaration.

Return

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

Parameters

predicate

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