If I have an array of arguments, say
args = [arg1, arg2, agr3]
how do you unpack them into a function f that take as arguments the entries from args, namely
f(arg1, agr2, arg3).
in python it goes something like f(*args).
If I have an array of arguments, say
args = [arg1, arg2, agr3]
how do you unpack them into a function f that take as arguments the entries from args, namely
f(arg1, agr2, arg3).
in python it goes something like f(*args).
f(args...)
so simple… thanks… it works perfectly.