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

A property is declared `var values: some Collection`. What constraint does this place on the getter across the type's lifetime?

struct Box { private var store = [1, 2, 3] var values: some Collection { store } }