rawset()

Type Function
Library (globals)
Return value Table
Revision Release 2024.3703
Keywords rawset, rawget, tables
See also rawget()

Overview

Sets the real value of table[index] to value without invoking any metamethod. table must be a table, index any value different from nil, and value any Lua value.

Syntax

rawset( table, index, value )
table (required)

Table. Table to modify.

index (required)

Number or String. Index into table.

value (required)

The value to be written to table[index].