> ## 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.

# json.isObject

> يرجع ما اذا كان value يتم treated as a JSON object بواسطة Real JSON table detection.

<div className="real-function-page">
  ```lua theme={null}
  json.isObject(value: any): boolean
  ```

  ## الوسائط

  <ParamField path={"value"} type={"any"} required>
    Value الذي يتم inspect. Non-table values ترجع false.
  </ParamField>

  ## القيم الراجعة

  <ResponseField name={"isObject"} type={"boolean"}>
    true عندما يكون value عبارة عن table marked as a JSON object او عندما لا تصنف Real JSON table detection هذه table كـ array. Empty unmarked tables ترجع true.
  </ResponseField>

  ## مثال

  Check ما اذا كانت table يتم treated as a JSON object بواسطة Real JSON encoder.

  ```lua theme={null}
  local record = json.object({ name = "Real" })
  local items = json.array({ "one", "two" })
  local empty = {}

  print(json.isObject(record))
  print(json.isObject(items))
  print(json.isObject(empty))
  ```
</div>
