table.getn

From Garry's Mod
Jump to: navigation, search
 table.getn( )

Description

This feature is deprecated.
You should avoid using it as it may be removed in a future version.

This function was deprecated in Lua 5.1 and is removed in 5.2. Use the length (#) operator instead.
Returns the length of the table.

Arguments

table tbl

The table to check.

Returns

number

Sequential length.
Personal tools
Navigation