valent_"><div class="p">
    <p>Returns <code>true</code> iff <code>self</code> and <code>other</code> contain equivalent elements, using
<code>isEquivalent</code> as the equivalence test.</p>

<p><strong>Requires:</strong> <code>isEquivalent</code> is an
  <a href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence relation</a>.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func elementsEqual&lt;OtherSequence : SequenceType where OtherSequence.Generator.Element == Generator