aph">Returns the negative of this integer number.</p><br>
<details>
<summary>
    <b>Calling from Kotlin</b>
</summary><p class="paragraph">Here's an example of calling this function from Kotlin code:</p><div class="sample-container"><pre><code class="block lang-kotlin" theme="idea">val number: NegativeInt = (-1).toNegativeInt()<br>    .getOrThrow()<br>val result: PositiveInt = -number // or number.unaryMinus()<br>assertEquals(expected = "1", actual = "$result")</code></pre><span class="top-right-position">