+ 8
Whar is the point of using the identity operator in Swift?
I tried to compare values of different types using identity operator and my code didn't run. Swift doesn't allow different types to be compared anyway. So what is the benefit of ===? https://code.sololearn.com/c94wHpzXYH5w/?ref=app
2 Answers
+ 7
Also == dosn't work
- 1
bby ki kabay trny