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

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

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

  ## الوسائط

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

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

  <ResponseField name={"isArray"} type={"boolean"}>
    true عندما يكون value عبارة عن table marked as a JSON array او unmarked table مع contiguous positive integer keys من 1 الى maximum index. Empty unmarked tables ترجع false.
  </ResponseField>

  ## مثال

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

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

  print(json.isArray(items))
  print(json.isArray(record))
  print(json.isArray(inferred))
  ```
</div>
