has Class Declaration
Deprecated
Will be removed in version 0.19.0
Replace with
sourceDeclaration?.hasClassDeclaration()
Content copied to clipboard
Whether declaration has a specified class declaration.
Return
true
if the declaration has the specified class declaration (or any class declaration if predicate is null
), false
otherwise.
Parameters
predicate
The predicate function used to determine if a class declaration satisfies a condition.