NSNumber array containsObject fails as types are different but they should be the same
I’m having troubles checking if an array contains an object.
The @property(nonatomic) NSArray<NSNumber*>* apiArray;
array is returned as a parameter from an API model while the object of which I want to check the presence in the array is returned from another API model @property(nonatomic) NSNumber* localObject;
.