الوسائط
any
مطلوب
Value الذي يتم inspect. Non-table values ترجع false.
القيم الراجعة
boolean
true عندما يكون value عبارة عن table marked as a JSON object او عندما لا تصنف Real JSON table detection هذه table كـ array. Empty unmarked tables ترجع true.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
يرجع ما اذا كان value يتم treated as a JSON object بواسطة Real JSON table detection.
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))