xdmp.functionReturnType( function as function(*) ) as String
Returns the return type from the given function's signature.
Parameters | |
---|---|
function | The function value. |
var fn = xdmp.function(fn.QName("http://www.w3.org/2005/xpath-functions", "empty")); xdmp.functionReturnType(fn); => "xs:boolean"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.