var aa: (()?) = (john.residence?.address = someAddress)
var bb: ()? = john.residence?.printNumberOfRooms()
Is this to distinguish whether only nil?
() is the empty tuple type (same as Void).
()? is the optional version of that.
(()?) is a tuple containing the type ()? so reduces to just ()?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With