testHue)
// Prints &quot;Optional((&quot;Heliotrope&quot;, 296))&quot;
</code></pre>
<ul>
<li>Parameter areInIncreasingOrder:  A predicate that returns <code>true</code> if its
first argument should be ordered before its second argument;
otherwise, <code>false</code>.</li>
</ul>
<blockquote>
<p>Complexity:
O(<em>n</em>), where <em>n</em> is the length of the sequence.</p>
</blockquote>
<h4>Declaration</h4><code class="language-swift">@warn_unqualified_access @inlinable public func max(by areInIncreasingOrde