-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><p class="paragraph">You can use the <a href="create-or-null.html">NotEmptyMap.Companion.createOrNull</a> method for returning <code class="lang-kotlin">null</code> instead of throwing an exception in case of invalid <a href="create.html">map</a>.</p></div></div>
</div>
      <div class="footer">
        <span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>C