xdmp.type( value as xs.anyAtomicType ) as xs.QName
Returns the name of the simple type of the atomic value argument as an xs:QName.
xs:QName
This function is a built-in.
xdmp.type(3) => integer