TDESCRIBE
Extension: io.warp10.script.ext.debug.DebugWarpScriptExtension
extensions debugConfiguration parameters
-
warpscript.extensions
The TDESCRIBE
function is a recursive TYPEOF
.
When TDESCRIBE
finds a LIST, it takes the first element of the list to look for his type. When TDESCRIBE
finds a MAP, it takes a random key in the map to look for the type of the key and the type of the value.
By design, TDESCRIBE cannot describe heterogeneous lists or maps.
TDESCRIBE output is subject to change in the future. Do not try to parse it. This function is here to help you during Warpscript development.
The TDESCRIBE
function is part of the io.warp10.script.ext.debug.DebugWarpScriptExtension
, this extension must be specified in the
warpscript.extensions
configuration parameter for it to be available.
Add the following line to your Warp 10 configuration:
warpscript.extension.debug=io.warp10.script.ext.debug.DebugWarpScriptExtension