title: Swift Range Type endIndex
body: <p>If you create a var Range = 0...0, I would expect the endIndex to be zero. But in reality is 1. </p>
  
  <pre><code>var myRange: Range&lt;Int&gt; = 0...0
  print("start Index \(myRange.startIndex) End Index \(myRange.endIndex)")
  </code></pre>
  
  <blockquote>
    <p>output: "start Index 0 End Index 1"</p>
  </blockquote>
  
  <p>How can I question a Range instance if an Index of type Int is contained ?</p>