Table

table.clear

Clears all keys from the table, but leaves their capacity allocated so that future keys added to the table can re use that storage, avoiding additional allocations.

Syntax

clear(table)