Table.getn

From GiderosMobile
Revision as of 14:33, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2011.6
Class: table

Description

Returns the size of the table, or n field, or table.setn value, or 1 less first index with nil value.

[Deprecated in Lua 5.1, use # operator]

table.getn(table)

Parameters

table: (any)