Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumSwiftassociated typesSingle-choice MCQ

When defining a protocol with an associated type plus a primary associated type (Swift 5.7+), what does `any Container<Int>` mean?

protocol Container<Item> { associatedtype Item var first: Item? { get } }