6 lines
95 B
Swift
6 lines
95 B
Swift
func printAll<T>(things: T...) {
|
|
// "things" is a [T]
|
|
for i in things {
|
|
print(i)
|
|
}
|
|
}
|