Jan 26, 2024
in my opinion you are missing an imported way of safely unwrapping optionals: the nil coalescing operator — ??
in this example if x is an optional String, we can use it like:
print(x ?? "value not set")
in my opinion you are missing an imported way of safely unwrapping optionals: the nil coalescing operator — ??
in this example if x is an optional String, we can use it like:
print(x ?? "value not set")