Garry's Mod Wiki

Garry's Mod Wiki

  number table.getn( table tbl )

Description

We advise against using this. It may be changed or removed in a future update. 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

1 table tbl
The table to check.

Returns

1 number
Sequential length.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...