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

> Value が Real JSON table detection により treated as a JSON array されるかを返します。

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

  ## 引数

  <ParamField path={"value"} type={"any"} required>
    Inspect する value。Non-table values は false を返します。
  </ParamField>

  ## 戻り値

  <ResponseField name={"isArray"} type={"boolean"}>
    Value が table marked as a JSON array、または 1 から maximum index まで contiguous positive integer keys を持つ unmarked table の場合 true。Empty unmarked tables は false を返します。
  </ResponseField>

  ## 例

  Table が Real JSON encoder により treated as a JSON array されるかを check します。

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