Exemplo n.º 1
0
 public static IArray <T> TakeWhile <T>(this IArray <T> self, Func <T, bool> p)
 {
     return(Take(self, self.CountWhile(p)));
 }
Exemplo n.º 2
0
 public static IArray <T> SkipWhile <T>(this IArray <T> self, Func <T, bool> p)
 {
     return(Skip(self, self.CountWhile(p)));
 }
Exemplo n.º 3
0
 public static bool All <T>(this IArray <T> self, Func <T, int, bool> p)
 {
     return(self.CountWhile(p) == self.Count);
 }