dynamicType of optional chaining not the same as assignment
问题 Optional chaining returns always an optional value. To reflect the fact that optional chaining can be called on a nil value, the result of an optional chaining call is always an optional value, even if the property, method, or subscript you are querying returns a nonoptional value. The Swift Programming Language Why the heck does in a playground the type not optional? let stringOptEmpty: String? = "" stringOptEmpty?.isEmpty // is true stringOptEmpty?.isEmpty.dynamicType // Bool.Type But the