x"><span class="floating-right">(<a href="https://github.com/jeffdgr8/kotbase/tree/main/couchbase-lite-ee-ktx/src/commonMain/kotlin/kotbase/ktx/DocumentExtensions.kt#L48">source</a>)</span></span></div><p class="paragraph">Creates a new <a href="../../couchbase-lite/kotbase/-mutable-document/index.html">MutableDocument</a> with the key-value entries specified by the given <a href="-mutable-document.html">block</a> function.</p><p class="paragraph">Example of usage:</p><div class="sample-container"><pre><cod