v0.13.8

table.freeze

functionimplementedavailable in: camelot

Marks a supplied table as frozen, preventing any modifications to its contents, or replacement of its metatable. If the table has a pre-existing metatable with a '__newindex' table or function, assignments will pass through without raising errors. For tainted code, only tables created by the same addon making this function call are permitted to be frozen.

signaturewowlua
function table.freeze(    table: table): table

Parameters

nametypedescription
tabletableThe table to freeze.

Returns

frozen · table · The supplied table, passed through.

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 ↗. Parameter and result notes: Blizzard's API documentation (Blizzard_APIDocumentationGenerated).