This file contains 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 num = 1 as NSNumber | |
num === num | |
//true | |
(num as Int as NSNumber) === (num as Int as NSNumber) | |
//false | |
(num as UInt as NSNumber) === (num as UInt as NSNumber) | |
//false |