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

> Gibt zurueck, ob ein value von Real JSON table detection als JSON array behandelt wird.

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

  ## Argumente

  <ParamField path={"value"} type={"any"} required>
    Value, der inspected wird. Non-table values geben false zurueck.
  </ParamField>

  ## Rückgaben

  <ResponseField name={"isArray"} type={"boolean"}>
    true, wenn der value eine table marked as a JSON array ist oder eine unmarked table mit contiguous positive integer keys von 1 bis zum maximum index. Empty unmarked tables geben false zurueck.
  </ResponseField>

  ## Beispiel

  Pruefe, ob eine table von Real JSON encoder als JSON array behandelt wird.

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