util::json::type_of (public)
util::json::type_of item
Defined in packages/acs-tcl/tcl/json-procs.tcl
Return the type of the item, "object" or "array"
- Parameters:
- item (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: switch [lindex $item 0] { _object_ { return object } _array_ { return array } default { return -code error "Expected \"_array_\" or \"_object_\", got \"[lindex $item 0]\"" } }XQL Not present: Generic, PostgreSQL, Oracle