@foreach


Description:

[ CCode ( ordering = 0 ) ]
public abstract bool @foreach (ForallFunc<G> f)

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.

Parameters:

f

function applied to every element of the collection

Returns:

false if the argument returned false at last invocation and true otherwise.