Nemerle Documentation

list.ForAll Method 

Returns 'true' if all of the 'l' list's elements satisfy the condition 'f'.

public bool ForAll(
   Func1 f
);

Remarks

Example of use: List.ForAll ([2, 4, 6, 8], fun (x) { x % 2 == 0 }) evaluates to 'true' as all the list's elements are even.

See Also

list Class | Nemerle.Core Namespace