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

> Retorna se um value e treated as a JSON array pela 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 para inspect. Non-table values retornam false.
  </ParamField>

  ## Retornos

  <ResponseField name={"isArray"} type={"boolean"}>
    true quando o value e uma table marked as a JSON array ou uma unmarked table com contiguous positive integer keys de 1 ate o maximum index. Empty unmarked tables retornam false.
  </ResponseField>

  ## Exemplo

  Check se uma table e treated as a JSON array pelo 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>
