Đối số
any
bắt buộc
Value de inspect. Non-table values tra ve false.
Giá trị trả về
boolean
true khi value la table marked as a JSON object hoac khi Real JSON table detection khong phan loai table la array. Empty unmarked tables tra ve true.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Tra ve value co duoc treated as a JSON object boi Real JSON table detection hay khong.
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))