DEV Community

Discussion on: Sets in Swift

Collapse
 
fmo91 profile image
Fernando Martín Ortiz

Nice article! Concise and helpful.

Just one little thing, I think here you missed the closing parenthesis for the print statements?

// Finding Values in Set
print(SamsungSmartphone.contains("Android") //true
print(SamsungSmartphone.contains("Andoid") // false
Enter fullscreen mode Exit fullscreen mode
Collapse
 
neeraj15022001 profile image
Neeraj Gupta

Thanks Fernando for rectifying me.