table.IsEmpty
Description
Returns whether or not the given table is empty.
This works on both sequential and non-sequential tables, and is a lot faster to use than table.Count(tbl) == 0
.
For checking if a table is not empty, try using next(tbl) ~= nil
.
Arguments
Returns
Page views: 9,227
Updated: This Year
Updated: This Year