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


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.


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].