JSON
json.isObject
返回 value 是否会被 Real JSON table detection treated as a JSON object。
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 object。
json.isObject(value: any): boolean
local record = json.object({ name = "Real" })
local items = json.array({ "one", "two" })
local empty = {}
print(json.isObject(record))
print(json.isObject(items))
print(json.isObject(empty))