"some" Keyword

I have looked high and low and cannot find documentation that describes the some keyword; for example:

var body: some View

I can fathom the meaning of this keyword. However, I'd like to see something official in documentation. Has anyone seen such documentation?

1 Like

Hello Patrick,

The some keyword is documented in The Swift Programming Language, chapter Opaque Types. For the record, this is the result of the SE-0244 Opaque Result Types proposal.


Thank you Gwendal.

Silly me. I was looking in The Swift Programming Language (Swift 5 Beta), thinking this was the book for the latest beta, which is obviously is not.