hasConstructor

Determines whatever the declaration has any constructor with the specified predicate.

Return

true if the declaration has constructors with the specified predicate, false otherwise.

Parameters

predicate

The predicate function to determine if a constructor satisfies a condition.