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

> Devuelve si un value se treated as a JSON array por Real JSON table detection.

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

  ## Argumentos

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

  ## Retornos

  <ResponseField name={"isArray"} type={"boolean"}>
    true cuando el value es una table marked as a JSON array o una unmarked table con contiguous positive integer keys desde 1 hasta su maximum index. Empty unmarked tables devuelven false.
  </ResponseField>

  ## Ejemplo

  Check si una table se treated as a JSON array por 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>
