This code work: 

let one:  Int ? =  5
let two =  5
let result =  one ==  two
 
print ( result )

//print true
Why we can access to Optional value without unwrap within comparison operations?

-- 
Седых Александр
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to