> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# isreadonly

> Returns whether a table is readonly. The argument must be a table, and the function does not change it.

<div className="real-function-page">
  ```lua theme={null}
  isreadonly(target: table): boolean
  ```

  ## 인수

  <ParamField path={"target"} type={"table"} required>
    Table whose readonly status is checked.
  </ParamField>

  ## 반환값

  <ResponseField name={"readOnly"} type={"boolean"}>
    true when the table is readonly; otherwise false.
  </ResponseField>

  ## 예제

  Read the readonly flag stored on a table.

  ```lua theme={null}
  local target = {}

  print(isreadonly(target))

  setreadonly(target, true)
  print(isreadonly(target))

  setreadonly(target, false)
  ```
</div>
