Last active
October 8, 2018 15:23
-
-
Save vialyx/f3f68f6f50602b9d54ceb13bef960241 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
let existedUser = User() | |
let adminUser = User() | |
let superUser = existedUser | |
if existedUser === adminUser { | |
print("existedUser, adminUser both refer to same instance") | |
} | |
if existedUser === superUser { | |
print("existedUser, superUser both refer to same instance") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment