has Class Declaration
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.