Metatables
isreadonly
Returns whether a table is readonly. The argument must be a table, and the function does not change it.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns whether a table is readonly. The argument must be a table, and the function does not change it.
isreadonly(target: table): boolean
local target = {}
print(isreadonly(target))
setreadonly(target, true)
print(isreadonly(target))
setreadonly(target, false)