+ 1
I don't get it that a boolean return turns to a sorted array?How?
5 Respostas
+ 11
its because parameter in method sort is converted to boolean, then the return is used back to sort into array.
its difficult to explain.
+ 11
the best way is practice it in code playground, but Sololearn don't support it yet.
+ 2
I don't know if it's me alone but I don't understand the question :S
+ 2
I don't even know what swift is
0
Swift is the language used to create apps on Apple devices. Version 3 of the language has been released.