public static bool Any <TSource>(this Queue <TSource> source, PredicateAt <TSource> predicate) => ValueReadOnlyCollectionExtensions.Any <ValueWrapper <TSource>, Queue <TSource> .Enumerator, TSource>(new ValueWrapper <TSource>(source), predicate);
public static bool Any <TKey, TValue>(this Dictionary <TKey, TValue> source, PredicateAt <KeyValuePair <TKey, TValue> > predicate) where TKey : notnull => ValueReadOnlyCollectionExtensions.Any <ValueWrapper <TKey, TValue>, Dictionary <TKey, TValue> .Enumerator, KeyValuePair <TKey, TValue> >(new ValueWrapper <TKey, TValue>(source), predicate);
public static bool Any <TKey, TValue>(this SortedDictionary <TKey, TValue> .KeyCollection source, PredicateAt <TKey> predicate) => ValueReadOnlyCollectionExtensions.Any <ValueWrapper <TKey, TValue>, SortedDictionary <TKey, TValue> .KeyCollection.Enumerator, TKey>(new ValueWrapper <TKey, TValue>(source), predicate);
public static bool Any <TSource>(this ImmutableHashSet <TSource> source, Func <TSource, int, bool> predicate) => ValueReadOnlyCollectionExtensions.Any <ValueWrapper <TSource>, ImmutableHashSet <TSource> .Enumerator, TSource>(new ValueWrapper <TSource>(source), predicate);
public static bool Any <TSource, TPredicate>(this ImmutableHashSet <TSource> source, TPredicate predicate = default) where TPredicate : struct, IFunction <TSource, bool> => ValueReadOnlyCollectionExtensions.Any <ValueWrapper <TSource>, ImmutableHashSet <TSource> .Enumerator, TSource, TPredicate>(new ValueWrapper <TSource>(source), predicate);
public static bool Any <TKey, TValue>(this SortedDictionary <TKey, TValue> .ValueCollection source, Predicate <TValue> predicate) where TKey : notnull => ValueReadOnlyCollectionExtensions.Any <ValueWrapper <TKey, TValue>, SortedDictionary <TKey, TValue> .ValueCollection.Enumerator, TValue>(new ValueWrapper <TKey, TValue>(source), predicate);