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