opaque argument

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

import Foundation

func handle(value: some Identifiable) {
    /* ... */
}
Previous
Previous

CaseIterable

Next
Next

as? vs is