tion">isEqualByComparingTo</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">expected<span class="token operator">: </span><a href="is-equal-by-comparing-to.html">T</a></span></span><span class="token punctuation">)</span></div><p class="paragraph">Asserts that value is equal when comparing using <code>{@link Comparable#compareTo(Object)}</code>.</p></div><div class="content sourceset-dependent-content" data-togglable=":assertk:dokkaHtmlPartial/jvmMain"><di