kotlin.collections/-collection/index.html">Collection</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="to-not-empty-list.html">E</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="to-not-empty-list.html"><span class="token function">toNotEmptyList</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kot