title: Knockout Observable Array IndexOf method
body: <pre><code>cityArray.indexOf(data.results[index].City) === -1
  </code></pre>
  
  <p>How can I use indexOf method for a knockoutObservable array where each item is an object ? cityArray contains objects with a property called City.</p>