rawset( tbl, member, value )
- Write to a table member, bypassing metamethods
- The table whose member to modify.
- The member to modify.
- The member's new value.
When creating things like class objects, one often overrides metamethods like
__newindex with custom code, but might then need to write directly to the table without going through those overrides. This can be done with
See also Edit
Community content is available under CC-BY-SA unless otherwise noted.