Loading TOC...

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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.