All objects have a method -hash, but not all objects have a good implementation.
The NSArray documentation does not determine the result, but testing shows that it returns the length of the array - not very useful:
NSLog(@"%lu", @[@"foo"].hash);
NSLog(@"%lu", @[@"foo", @"bar"].hash);
NSLog(@"%lu", @[@"hello", @"world"].hash);
, <NSCoding>, NSData, -hash:
[NSArchiver archivedDataWithRootObject:@[@"foo"]].hash
[NSArchiver archivedDataWithRootObject:@[@"foo", @"bar"]].hash
[NSArchiver archivedDataWithRootObject:@[@"hello", @"world"]].hash
, , -hash. -hash (, , ) , .