ken keyword"></span><a href="to-not-empty-list.html">E</a><span class="token operator">&gt;</span></div><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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-argument-exception/index.html">IllegalArgumentException</a> if this collection is <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-colle