generic extensions

Here’s the code if you want to experiment with it:

import Foundation

extension String? {
    var orEmpty: String {
        self ?? ""
    }
}
Previous
Previous

LazySequence

Next
Next

raw strings