Apply function to each element returned by iterator until last element or function return false.
Iterator implementation: Operation moves the iterator to last element in iteration or the first element that returned false. If iterator points at some element it will be included in iteration.