lua create empty array code example Example: lua array is empty if not next(myTable) then -- Table is empty end