xdmp:function-return-type( $function as function(*) ) as xs:string
Returns the return type from the given function's signature.
let $fn := fn:empty#1 return xdmp:function-return-type($fn) => "xs:boolean"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.