Metatables

makewriteable

Makes a readonly table writable.

Syntax

makewriteable(target: table)

Arguments

NameTypeDescription
targettableTarget function, table, stack level, or object being inspected or changed.

Description

Makes a readonly table writable.

Call it with 1 parameter(s): target. The argument table explains which values are required and which ones only refine the behavior.

It does not return data. Treat the call as an action and handle errors around the call site when needed.

Example

Example call with placeholder values.

makewriteable({})