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