has Type
Determines whatever declaration has a specified type.
Return
true
if the declaration has the specified type, false
otherwise.
Parameters
predicate
The predicate function used to determine if a declaration type satisfies a condition.