table.size

Syntax

i = table.size(t)

Get the table size. A new table is created if a unique integer or string name is given as an argument.

Returns:

i - table size

Arguments:

t - integer name, string name, or table pointer