WoW:API wipe
Jump to navigation
Jump to search
Wipes a table of all contents.
table = table.wipe(table)
Arguments
- table
- Table - The table to be cleared.
Returns
- table
- Table - The empty table.
Example
local tab = {} tab.Hello = "Goodbye" print(tab.Hello) -- print "Goodbye" tab = table.wipe(tab) print(tab.Hello) -- print nil