Swift: Functions Variadic parameters

We use a variadic parameter when that parameter accepts more than one value as input values when the function is called. Include (…) this after the parameter’s type name to indicate that the parameter is a variadic type.

Leave a Reply