how to find if a table is empty lua code example Example: lua table is empty if not next(myTable) then -- Table is empty end