ken keyword">abstract </span><span class="token keyword"></span><span class="token keyword">val </span><a href="head.html">head</a><span class="token operator">: </span><a href="index.html">E</a></div><p class="paragraph">The first element of this collection.</p><p class="paragraph">Here's a simple usage example:</p><div class="sample-container"><pre><code class="block lang-kotlin" theme="idea">val collection: NotEmptyCollection&lt;Int&gt; = notEmptyListOf(1, 2, 3)<br>val result: Int = collection.head<br>pr