has Function Declaration
Whether declaration has a specified function declaration.
Return
true
if the declaration has the specified function declaration (or any function declaration if predicate is null
), false
otherwise.
Parameters
predicate
The predicate function used to determine if a function declaration satisfies a condition.