Understanding the “some” and “any” keywords in Swift 5.7
The
someandanykeywords are not new in Swift. Thesomekeyword was introduced in Swift 5.1 whereas theanykeyword 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.