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

> Mengembalikan apakah value treated as a JSON array oleh Real JSON table detection.

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

  ## Argumen

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

  ## Return

  <ResponseField name={"isArray"} type={"boolean"}>
    true saat value adalah table marked as a JSON array atau unmarked table dengan contiguous positive integer keys dari 1 sampai maximum index. Empty unmarked tables mengembalikan false.
  </ResponseField>

  ## Contoh

  Check apakah table treated as a JSON array oleh 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>
