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