import UIKit
import Foundation
var unwrappedString: String!
var optionalString: String?
print("type of unwrappedString is:", type(of:unwrappedString))
print("type of optionalString is:", type(of:optionalString))
输出是
type of unwrappedString is: Optional<String> type of optionalString is: Optional<String>