swift - if let 添加逻辑AND(&&) 或者多个if let

iSwift

2017-12-26T06:33:02Z||2017-12-26T06:33:02Z

加逗号(,), Swift 4写法:

if let name = obj as? String, 
   id == 32,
   name == "haha",
   let name2 = obj2 as? String {
       print("OK")
   }