Unpacking Python's asterisk operator in Julia

In Julia, this is called splatting, and is done by a ... following the variable, e.g.

a = [1,2]
func(a...)
1 Like