title: Get array inside arrays in Swift 3
body: <p>I have data model structure like this</p>
  
  <pre><code>        class Items {
              private var titre:String?
              private var project:[Project]!
  
     // and getters
      }
  and class Project {
      private var auteur:String?
      public var assign: [Assign]?
   //getters
  }
  </code></pre>
  
  <p>and array declaration like this <code>var items = [Items]()</code></p>
  
  <p>and i get data from web service so items array look like this&lt; br /></p>
  
  <pre><code>items = [[["slow",[Project.class],["bad",[Project.class],["news",[Project.class]]]
  </code></pre>
  
  <p>Now <strong>i want to get one by title for example i want just with title slow</strong> so and the table will be like this <code>[titre:"slow",[project]</code>, so how can i do it by swift 3,</p>
  
  <p>I tried to get index and after Fill array with this index but not work for me</p>
  
  <pre><code>var abc =  items.index(where: { (item) -&gt; Bool in
                  if item.titre == "slow" {
                      return true
                  }
  
                      return false
  
              })    
  
   print("item",abc) // i get Optional(1), Optional(1), Optional(1) ... 4 time why ? 
  </code></pre>
  
  <p>But this not work for me, if some one can help me to do this and thanks.</p>