Created
May 20, 2019 03:57
-
-
Save RinniSwift/47f3ee7c1abfe71c7a5c106d924a8f60 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var numbers = Set<Int>() | |
numbers.insert(3) // (true, 3) | |
numbers.insert(22) // (true, 22) | |
numbers.insert(22) // (false, 22) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment