Unit?</a><div class="comment collapse" id="comment-var-first_-self-generator-element"><div class="p">
    <p>Returns the first element of <code>self</code>, or <code>nil</code> if <code>self</code> is empty.</p>

<p><strong>Complexity:</strong> O(1)</p>

    <h4>Declaration</h4>    
    <code class="language-swift">var first: CodeUnit? { get }</code>

        <h4>Declared In</h4>
            <a href="../../protocol/CollectionType/"><code>CollectionType</code></a>
        </div></div>
</div>
<div class="decl