3 ms·
I don’t see how it’s that different to Swift? All that would be needed is a ? after `dict` and a direct comparison to true. dict.containsObjectForKey[@"a"] Be
by jon889 4y ago
I don’t see how it’s that different to Swift? All that would be needed is a ? after `dict` and a direct comparison to true.
dict.containsObjectForKey[@"a"]
Becomes roughly
dict?.containsObjectForKey(“a”) == true