yOf("hello", 42, true)<br>mutableDictOf("key1" to "value1", "key2" to 2, "key3" to null)</code></pre><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><p class="paragraph">The similar <code class="lang-kotlin">mutableDocOf</code> function allows nesting dictionary types, unlike the <code class="lang-kotlin">MutableDocument</code> DSL:</p><div class="samp