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

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 (!==)
主站蜘蛛池模板: 拉孜县| 贵阳市| 铜鼓县| 高雄市| 灵丘县| 上饶县| 修武县| 瑞安市| 昌乐县| 海兴县| 镇雄县| 确山县| 浮梁县| 乾安县| 百色市| 重庆市| 白水县| 平和县| 上杭县| 双辽市| 保德县| 云林县| 萍乡市| 古交市| 定西市| 杂多县| 即墨市| 宝应县| 晋中市| 锡林浩特市| 新建县| 广灵县| 永吉县| 噶尔县| 塘沽区| 平定县| 林口县| 晋城| 扶沟县| 上林县| 大名县|