The nil-coalescing operator (a ?? b) unwraps an optional a if it contains a value, or returns a default value b if a is nil.

The nil-coalescing operator is shorthand for the code below:

a != nil ? a! : b

Or we can simple consider it as or operator.