Variadic functions are created using the ... ellipses syntax in the argument list of the function definition.
function id(...)
return
end
If you called this function as id(1, 2, 3, 4, 5) then ... (AKA the vararg list) would contain the values 1, 2, 3, 4, 5.
Functions can take required arg...