Is it possible to use optional chaining and nil coalescing simultaneously like so?
print("Meeting host: " + meeting.host?.email ?? “No host”)
I'd like to do this but I get an error saying that my String? is not unwrapped. email
is a non optional String.
Is this possible without having to unwrap host
before hand and if not why does my attempt at doing this not work?