xdmp.type

xdmp.type(
   value as xs.anyAtomicType
) as xs.QName

Summary

Returns the name of the simple type of the atomic value argument as an xs:QName.

This function is a built-in.

Parameters
value The value to return the type of.

Example

xdmp.type(3)
=>
integer
Powered by MarkLogic Server | Terms of Use | Privacy Policy