Aliases
None.Arguments
table
required
The table whose readonly flag is changed.
boolean
required
Whether the table should reject writes.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Sets a table’s native readonly flag.
setreadonly(value: table, readonly: boolean): ()
local t = {value = 1}
setreadonly(t, true)
print(isreadonly(t))
setreadonly(t, false)
