Syntax
makewriteable(target: table)Arguments
| Name | Type | Description |
|---|---|---|
target | table | Table to mark as writable. |
Description
Marks a table as writable and returns no values.
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
Set a table's readonly flag to false.
local target = {}
makereadonly(target)
print(isreadonly(target))
makewriteable(target)
print(isreadonly(target))