gumentException</a> if the <a href="create.html">map</a> is <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/is-empty.html">empty</a>.</p><br>
<details>
<summary>
    <b>Calling from Kotlin</b>
</summary><p class="paragraph">Here's an example for calling this function from Kotlin code:</p><div class="sample-container"><pre><code class="block lang-kotlin" theme="idea">val map: Map&lt;Char, Int&gt; = mapOf('a' to 1, 'b' to 2)<br>val isSuccess: Boolean = try {<br>    NotEmptyMap.cr