has Variable
Determines whether the declaration has at least one variable that satisfies the provided predicate.
Return
true
if there is a matching declaration, false
otherwise.
Parameters
predicate
A variable that defines the condition to be met by a variable declaration.