true when a table accepts writes, the exact inverse of isreadonly.
Parameters
table
required
The table to test.
Returns
boolean
true if the table is writable.Example
Errors
Related
isreadonly: the inverse test.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Test whether a table is writable.
iswritable(table: table) -> boolean
true when a table accepts writes, the exact inverse of isreadonly.
true if the table is writable.print(iswritable({})) -- true
| Message | Condition |
|---|---|
cannot test the writable flag of a value that is not a table | Argument 1 was not a table. |
isreadonly: the inverse test.