Writing an enhanced for loop in Java
<p>I'm trying to convert the following for loop into an enhanced for loop</p>

<pre><code>        for(int i=0; i&lt; vowels.length; i++){
            if(vowels[i] == Character.toLowerCase(c)){
                return true;
            }
        }
        return false;
</code></pre>

<p>This is what I got, but I got <code>i == Character.isLetter(c)</code> underlined because The operator <code>==</code> is undefined for the argument type(s) char, boolean. what's wrong here?</p>

<pre><code>        for(char i: vowels){
            if(i == Character.isLetter(c)){
                return true;
            }
        }
        return false;
</code></pre>
