In lua, is there a way to "force" an argument to its multiple values
04:54 05 Dec 2025

Let tableA = {a,b,c}.

print( table.unpack(tableA) ) will print : a b c - the multiples values àf table.unpack(tableA) are displayed,

print( table.unpack(tableA) , "d" ) will print : a d - the presence of following argument reduce table.unpack(tableA) to its first value,

print( (table.unpack(tableA)) ) will print : a - ( ) forces table.unpack(tableA) to its first value.

Is there, on the contrary, a syntax to force lua to take all the multiple values of table.unpack(tableA) ?

lua parameter-passing