Documentation for eachWhile.