Example #1
0
 /// <summary>
 ///   <para>Returns 'true' if at least one of the 'l' list's elements
 ///  satisfies the condition 'f'.
 ///
 /// </para>
 /// </summary> <remarks><para>Example of use:
 ///
 /// </para>   <para>NList.Exists (["a", "b", "abc", "d", "e"], fun (x) { x.Length &gt; 2 })
 ///
 /// </para> <para>evaluates to 'true' as there is one string of length 3 on the list.
 ///
 /// </para></remarks>
 public bool Exists(Function <T, bool> f)
 {
     return(NList.Exists <T>(this, f));
 }