erator) -&gt; Elem</tt>
<ul class="definitions"><li><tt>Iterator = <a href="#type-iterator">iterator</a>(Elem)</tt></li></ul></p>
<p> </p>
</div><p><p>
  Returns the head of <code>Iterator</code>, that is, the first element, for  
example:</p>
 
  <pre>  &gt; llists:hd(llists:seq(1, 5)).
  1</pre>
 
  Failure: <code>badarg</code> if <code>Iterator</code> is empty.</p>

<h3 class="function"><a name="is_iterator-1">is_iterator/1</a></h3>
<div class="spec">
<p><tt>is_iterator(Candidate) -&gt; boolean()</tt>
<u