Example #1
0
 public static bool Any <TSource>(this ImmutableQueue <TSource> source, PredicateAt <TSource> predicate)
 => ValueEnumerable.Any <ValueWrapper <TSource>, ValueWrapper <TSource> .Enumerator, TSource>(new ValueWrapper <TSource>(source), predicate);
Example #2
0
 public static bool Any <TSource>(this ImmutableStack <TSource> source)
 => ValueEnumerable.Any <ValueWrapper <TSource>, ValueWrapper <TSource> .Enumerator, TSource>(new ValueWrapper <TSource>(source));