 -> Result) rethrows -> Result</a> <span class="required">Required</span><div class="comment collapse in" id="comment-reduce-6df4b118cc55876e9cb07e09c5307a38"><p>Returns the result of combining the elements of the sequence using the
given closure.</p>
<p>Use the <code>reduce(_:_:)</code> method to produce a single value from the elements
of an entire sequence. For example, you can use this method on an array
of numbers to find their sum or product.</p>
<p>The <code>nextPartialResult</code> closure is called