JSON
json.isArray
返回 value 是否会被 Real JSON table detection treated as a JSON array。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
返回 value 是否会被 Real JSON table detection treated as a JSON array。
json.isArray(value: any): boolean
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))