v0.13.6

table.getcountinfo

functionimplementedavailable in: camelot

Returns detailed information about the number and distribution of entries in the table.

signaturewowlua
function table.getcountinfo(    table: table): (number, number, number)

Parameters

nametypedescription
tabletableThe table to inspect.

Returns

#nametypedescription
1numEntriesnumberThe total number of entries in the table.
2numPositiveIntegerKeysnumberThe number of entries with positive integral keys.
3maxPositiveIntegerKeynumberThe largest positive integral key in the table, or zero if no such keys were found.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (LuaTableExtensions system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.