oken punctuation">)</span><span class="token operator">: </span><a href="../../kotools.types.collection/-not-empty-list/index.html">NotEmptyList</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></div><div class="brief "><p class="paragraph">Returns a <a href="../../kotools.types.collection/-not-empty-list/index.html">NotEmptyList</a> containing all the elements of this collection, or throws an <a href=