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

> Zwraca, czy value jest treated as a JSON array przez Real JSON table detection.

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

  ## Argumenty

  <ParamField path={"value"} type={"any"} required>
    Value do inspect. Non-table values zwracaja false.
  </ParamField>

  ## Zwroty

  <ResponseField name={"isArray"} type={"boolean"}>
    true, gdy value jest table marked as a JSON array albo unmarked table z contiguous positive integer keys od 1 do maximum index. Empty unmarked tables zwracaja false.
  </ResponseField>

  ## Przykład

  Check, czy table jest treated as a JSON array przez 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>
