Value and Type parameter packs in Swift explained with examples
Type parameter packs and value parameter packs allow you to write a generic function that accepts an arbitrary number of arguments with distinct types. As a result of SE-393, SE-398, and SE-399, you can use this new feature from Swift 5.9.
https://www.avanderlee.com/swift/value-and-type-parameter-packs/?Open linkView original on programming.dev10
Comments