getn

LUA

getn

getn (TABLE

Returns the “size” of TABLE, seen as a list. If TABLE has an n fleld with a numeric value, this value is used.Otherwise, “size” is the largest numerical index with a non-nil value in the table.