In Julia, this is called splatting, and is done by a ... following the variable, e.g.
...
a = [1,2] func(a...)