title: In Swift, How to check if the first element of an Array is equal to a list of values?
body: <p>Hi I'm a newbie here and I want to check if the first element of an Array is equal to a list of values. For example to check if a list of letters (chars) begins with a vowel.</p>
  <p>something like this:</p>
  <pre><code>var listOfLetters = [&quot;A&quot;,&quot;C&quot;,&quot;D&quot;,&quot;E&quot;,&quot;L&quot;]
  func firstItemIsVowel ( listOfLetters: [String] ) -&gt; Boolean {
     if listOfLetters.first == (&quot;A&quot; or &quot;E&quot; or &quot;I&quot; or &quot;O&quot; or &quot;U&quot;) {
     } Return True
  } 
  </code></pre>