MarkLogic 12 EA 1 Product Documentation
xdmp.functionSignature

xdmp.functionSignature(
   function as function(*)
) as String?

Summary

Returns the signature of the function that the argument refers to.

Parameters
function The function value.

Example

var fn = xdmp.function(fn.QName("http://www.w3.org/2005/xpath-functions",
                                "empty"));
xdmp.functionSignature(fn);
=> "function(item()*) as xs:boolean"
Powered by MarkLogic Server | Terms of Use | Privacy Policy