官术网_书友最值得收藏!

Identity operators

As classes are reference types, it is possible for multiple constants and variables to refer to the same single instance of class behind the scenes. To find out if two constants or variables refer to the same instance of a class exactly, Swift provides the following identity operators:

  • Identical to (===)
  • Not identical to (!==)
主站蜘蛛池模板: 嵊州市| 长寿区| 永胜县| 南部县| 扎兰屯市| 屏山县| 轮台县| 辽源市| 阿坝县| 张掖市| 南投县| 阿拉善盟| 双桥区| 玉龙| 福海县| 浦江县| 西乌珠穆沁旗| 囊谦县| 苏尼特右旗| 平邑县| 扎鲁特旗| 翼城县| 海城市| 景宁| 驻马店市| 景德镇市| 永州市| 石门县| 渑池县| 上高县| 山西省| 阿图什市| 岳池县| 巢湖市| 石嘴山市| 高邑县| 济源市| 宕昌县| 江安县| 东城区| 遂昌县|