What to return to loop through a function return
<p>I am currently trying to loop through a return from a function, but I just haven't been able to figure out how to do this. It's a bit like the Wordpress loop: while (have_posts()).</p>

<p>That is what I am trying to do, but what do my function have to return to be while-loopable?</p>
