take unpack

unpack takes an array as input parameter and returns all elements of the array. is used to implement the generic invocation mechanism

local lst = {'a','b','c','d',{1,2,3}}
print(unpack(lst))

a	b	c	d	table: 0x64f5f890

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326570527&siteId=291194637