length of empty table lua code example
Example 1: length of table lua
Use the # Operator (#table)
Example 2: lua empty table
for k,v in pairs(table) do
table.remove(table, k)
end
Use the # Operator (#table)
for k,v in pairs(table) do
table.remove(table, k)
end