has Parameter Type
Deprecated
Will be removed in version 0.19.0
Replace with
hasParameter
Content copied to clipboard
Checks if any parameter type matches the given predicate.
Return
true
if any parameter type matches the predicate, otherwise false
.
Parameters
predicate
A function that evaluates each parameter declaration.