aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/third_party/Immutable/Tests/FSTImmutableSortedDictionary+Testing.m
blob: 7def7cb6b0182b2d739faa149343d24316e0c786 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#import "Firestore/third_party/Immutable/Tests/FSTImmutableSortedDictionary+Testing.h"

NS_ASSUME_NONNULL_BEGIN

@implementation FSTImmutableSortedDictionary (Testing)

- (NSArray<id> *)values {
  NSMutableArray<id> *result = [NSMutableArray array];
  [self enumerateKeysAndObjectsUsingBlock:^(id key, id value, BOOL *stop) {
    [result addObject:value];
  }];
  return result;
}

@end

NS_ASSUME_NONNULL_END