hasSourceDeclaration

Determines whatever type has a specified source declaration.

Return

true if the type has the specified source declaration, false otherwise.

Parameters

predicate

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