Understanding the “some” and “any” keywords in Swift 5.7
The
some
andany
keywords are not new in Swift. Thesome
keyword was introduced in Swift 5.1 whereas theany
keyword was introduced in Swift 5.6. In Swift 5.7, Apple makes another great improvement on both of these keywords. We can now use both of these keywords in the function’s parameter position!
Source: Understanding the "some" and "any" keywords in Swift 5.7, an article by Lee Kah Seng.