rawset()

Type Function
Library (globals)
Return value Table
Revision Release 2022.3683
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].