v0.13.6

table.create

functionimplementedavailable in: camelot

Creates an empty table with storage preallocated for the specified number of array and non-array entries.

signaturewowlua
function table.create(    arraySizeHint: number,    nodeSizeHint: number): table

Parameters

nametypedescription
arraySizeHintnumberThe number of array entries for which to preallocate storage.
nodeSizeHintnumberThe number of non-array entries for which to preallocate storage. Default: 0.

Returns

table · table

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: Blizzard's API documentation (Blizzard_APIDocumentationGenerated).